groups should be text to match add_group etc.

This commit is contained in:
Sam 2018-04-10 13:47:07 +10:00
parent afaeb20f27
commit 71d0035a7e
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ describe SessionController do
expect(sso2.external_id).to eq(@user.id.to_s)
expect(sso2.admin).to eq(true)
expect(sso2.moderator).to eq(false)
expect(sso2.groups).to eq(@user.groups.pluck(:name))
expect(sso2.groups).to eq(@user.groups.pluck(:name).join(","))
end
it "successfully redirects user to return_sso_url when the user is logged in" do