diff options
Diffstat (limited to 'spec/lib/feature_spec.rb')
-rw-r--r-- | spec/lib/feature_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/feature_spec.rb b/spec/lib/feature_spec.rb index 6e32db09426..4db3f04717b 100644 --- a/spec/lib/feature_spec.rb +++ b/spec/lib/feature_spec.rb @@ -512,6 +512,11 @@ RSpec.describe Feature, stub_feature_flags: false do let(:expected_extra) { { "extra.thing" => "true" } } end + # This is documented to return true, modify doc/administration/feature_flags.md if it changes + it 'returns true' do + expect(subject).to be true + end + context 'when thing is an actor' do let(:thing) { create(:project) } @@ -533,6 +538,11 @@ RSpec.describe Feature, stub_feature_flags: false do let(:expected_extra) { { "extra.thing" => "false" } } end + # This is documented to return true, modify doc/administration/feature_flags.md if it changes + it 'returns true' do + expect(subject).to be true + end + context 'when thing is an actor' do let(:thing) { create(:project) } |