donphan/spec/support/examples/lib/settings/settings_extended.rb

16 lines
236 B
Ruby
Raw Normal View History

2017-06-04 16:07:39 +01:00
# 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