Spec ScopedSettings (#3559)
This commit is contained in:
committed by
Eugen Rochko
parent
b0fe58dc69
commit
42844df966
15
spec/support/examples/lib/settings/settings_extended.rb
Normal file
15
spec/support/examples/lib/settings/settings_extended.rb
Normal file
@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
shared_examples 'Settings-extended' do
|
||||
describe 'settings' do
|
||||
def fabricate
|
||||
super.settings
|
||||
end
|
||||
|
||||
def create!
|
||||
super.settings
|
||||
end
|
||||
|
||||
it_behaves_like 'ScopedSettings'
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user