openid fixes

This commit is contained in:
Stella Rouzi 2014-06-18 17:09:14 +03:00
parent 600adde6ba
commit de58ddde50
4 changed files with 14 additions and 14 deletions

View file

@ -63,9 +63,9 @@ feature Openid do
expect(Openid.where(email: 'test-1@gmail.com').first.nil?).to eq(false)
end
it 'signs in with openID using the same email as another associated openid' do |user|
it 'signs in with openID using the same email as another associated openid' do
# Sign in user
user = create(:participant, email: 'test-participant-1@google.com')
create(:participant, email: 'test-participant-1@google.com')
expected_count_openid = Openid.count + 1
expected_count_user = User.count
visit '/accounts/sign_in'