Skip to content

Commit

Permalink
Correct specs that had same conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Sep 13, 2019
1 parent dd014a3 commit ce2310b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/flipper/ui/decorators/feature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@
end

it 'sorts :on before :off' do
expect((on <=> conditional)).to be(-1)
expect((on <=> off)).to be(-1)
end

it 'sorts :conditional before :off' do
expect((on <=> conditional)).to be(-1)
expect((conditional <=> off)).to be(-1)
end

it 'sorts on key for identical states' do
Expand Down

0 comments on commit ce2310b

Please sign in to comment.