1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/support/examples/lib/settings/settings_extended.rb
Akihiko Odaki (@fn_aki@pawoo.net) 42844df966 Spec ScopedSettings (#3559)
2017-06-04 17:07:39 +02:00

16 lines
236 B
Ruby

# 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