DEV: correct fragile spec
This commit is contained in:
parent
720a12ce76
commit
610bfec73e
|
@ -6,9 +6,18 @@ describe SiteSettings::DefaultsProvider do
|
|||
SiteSettings::LocalProcessProvider.new
|
||||
end
|
||||
|
||||
before do
|
||||
MessageBus.off
|
||||
end
|
||||
|
||||
after do
|
||||
MessageBus.on
|
||||
end
|
||||
|
||||
def new_settings(provider)
|
||||
Class.new do
|
||||
extend SiteSettingExtension
|
||||
self.listen_for_changes = false
|
||||
self.provider = provider
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue