From 740813d8350290c176c1b0d0cfe3ac80aee1b420 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 14 Jul 2013 16:19:32 +0200 Subject: we do not expose M2 in srp.js anymore. So there is no way to print it. This message used to be correct but there are also other things that can cause this to fail now. So let's just remove it. --- users/test/integration/browser/account_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'users/test/integration') diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb index a112430..4fff637 100644 --- a/users/test/integration/browser/account_test.rb +++ b/users/test/integration/browser/account_test.rb @@ -12,8 +12,7 @@ class AccountTest < BrowserIntegrationTest fill_in 'Password', with: password fill_in 'Password confirmation', with: password click_on 'Sign Up' - assert page.has_content?("Welcome #{username}"), - "failed to verify server. expected M2: #{page.evaluate_script("srp.session.getM2();")}" + assert page.has_content?("Welcome #{username}") click_on 'Logout' assert_equal '/', current_path end -- cgit v1.2.3