Skip to content
Browse files

Verify second feature gate value in features action as well.

  • Loading branch information...
1 parent fd5f240 commit 03e201fdd4fe4bddfc32010095e09cfc13d6d95b @jnunemaker committed Feb 18, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/flipper-ui/middleware_spec.rb
View
5 spec/flipper-ui/middleware_spec.rb
@@ -84,6 +84,11 @@ def gate_value(feature_name, gate_key)
feature['name'].should eq('Search')
feature['state'].should eq('off')
feature['description'].should eq('Disabled')
+ feature['gates'].first.should eq({
+ 'name' => 'boolean',
+ 'key' => 'boolean',
+ 'value' => false,
+ })
end
end

0 comments on commit 03e201f

Please sign in to comment.
Something went wrong with that request. Please try again.