This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/support/examples/lib/settings/settings_extended.rb

16 lines
236 B
Ruby
Raw Normal View History

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