Skip to content

Commit

Permalink
Merge 740c81d into 99c35d4
Browse files Browse the repository at this point in the history
  • Loading branch information
npauzenga committed Jan 31, 2016
2 parents 99c35d4 + 740c81d commit bbfaa05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/acceptance/groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ def schema_path

expect(json_response["data"]["attributes"]["name"]).
to eq public_send(:name)

expect(authenticated_user.groups.first.name).
to eq public_send(:name)

group = Group.first

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

Expand Down

0 comments on commit bbfaa05

Please sign in to comment.