Disable fog in tests
This commit is contained in:
parent
e59c151d83
commit
f1809c4dd3
|
@ -5,6 +5,13 @@ require "rails_helper"
|
|||
describe Settings::ProfilePictureController, type: :controller do
|
||||
describe "#update" do
|
||||
subject { patch :update, params: { user: avatar_params } }
|
||||
|
||||
before do
|
||||
stub_const("APP_CONFIG", {
|
||||
"fog" => {}
|
||||
})
|
||||
end
|
||||
|
||||
let(:avatar_params) do
|
||||
{
|
||||
profile_picture: fixture_file_upload("banana_racc.jpg", "image/jpeg")
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe UseCase::DataExport::User, :data_export do
|
||||
before do
|
||||
stub_const("APP_CONFIG", {
|
||||
"fog" => {}
|
||||
})
|
||||
end
|
||||
|
||||
let(:user_params) do
|
||||
{
|
||||
email: "fizzyraccoon@bsnss.biz",
|
||||
|
|
Loading…
Reference in New Issue