Adjust specs for web app metadata fetching
This commit is contained in:
@@ -5,6 +5,10 @@ RSpec.describe RemoteStorageAuthorization, type: :model do
|
||||
|
||||
let(:user) { create :user }
|
||||
|
||||
before do
|
||||
allow_any_instance_of(AppCatalog::WebApp).to receive(:update_metadata).and_return(true)
|
||||
end
|
||||
|
||||
describe "#create" do
|
||||
after(:each) { clear_enqueued_jobs }
|
||||
after(:all) { redis_rs_delete_keys("authorizations:*") }
|
||||
|
||||
Reference in New Issue
Block a user