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

16 lines
236 B
Ruby
Raw Normal View History

2017-06-05 01:07:39 +10: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