Skip to content

Commit

Permalink
add parens per hound (also common sense)
Browse files Browse the repository at this point in the history
  • Loading branch information
npauzenga committed Jan 31, 2016
1 parent eced066 commit 31050b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/acceptance/game_nights_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

expect(game_night.users.first).to eq authenticated_user

expect(authenticated_user.has_role? :organizer, game_night).
expect(authenticated_user.has_role?(:organizer, game_night)).
to be_truthy
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

expect(group.users.first).to eq authenticated_user

expect(authenticated_user.has_role? :moderator, group).
expect(authenticated_user.has_role?(:moderator, group)).
to be_truthy
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/interactors/add_role_to_user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

it "adds the appropriate role to user" do
expect(subject.user.has_role? role, group).to be_truthy
expect(subject.user.has_role?(role, group)).to be_truthy
end
end

Expand Down

0 comments on commit 31050b1

Please sign in to comment.