Skip to content

Commit

Permalink
test: ensure re-ordered positive case
Browse files Browse the repository at this point in the history
and remove pry-nav because ruby 3.1 doesn't like it
  • Loading branch information
lanej committed Apr 6, 2024
1 parent b033fe3 commit 7f48cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ gemspec

group :test do
gem "pry"
gem "pry-nav"
end
2 changes: 2 additions & 0 deletions spec/toggles/feature/permissions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
end

specify 'subjects can be specified in any order' do
expect(subject.valid_for?(widget: double(id: 2),
user: double(id: 1, logged_in?: true))).to eq true
expect(subject.valid_for?(widget: double(id: 2),
user: double(id: 2, logged_in?: true))).to eq false
end
Expand Down

0 comments on commit 7f48cd4

Please sign in to comment.