diff --git a/authy-devise-demo/Gemfile.lock b/authy-devise-demo/Gemfile.lock index 10a2b80..92c2ca9 100644 --- a/authy-devise-demo/Gemfile.lock +++ b/authy-devise-demo/Gemfile.lock @@ -1,9 +1,9 @@ PATH remote: .. specs: - devise-authy (1.7.0) + devise-authy (1.8.0) authy - devise + devise (>= 3.0.0) GEM remote: https://rubygems.org/ @@ -76,7 +76,7 @@ GEM execjs (2.7.0) globalid (0.3.7) activesupport (>= 4.1.0) - httpclient (2.8.2.3) + httpclient (2.8.2.4) i18n (0.7.0) jbuilder (2.6.0) activesupport (>= 3.0.0, < 5.1) @@ -191,4 +191,4 @@ DEPENDENCIES web-console (~> 2.0) BUNDLED WITH - 1.11.2 + 1.12.5 diff --git a/spec/controllers/devise_authy_controller_spec.rb b/spec/controllers/devise_authy_controller_spec.rb index 9ae41fd..edb9a22 100644 --- a/spec/controllers/devise_authy_controller_spec.rb +++ b/spec/controllers/devise_authy_controller_spec.rb @@ -239,7 +239,7 @@ body = JSON.parse(response.body) expect(body['sent']).to be_truthy - expect(body['message']).to eq("SMS token was sent") + expect(body['message']).to eq("Token was sent.") end it "Shoul not send sms if user couldn't be found" do diff --git a/spec/features/authy_authenticatable_spec.rb b/spec/features/authy_authenticatable_spec.rb index ace3714..2921d7c 100644 --- a/spec/features/authy_authenticatable_spec.rb +++ b/spec/features/authy_authenticatable_spec.rb @@ -21,7 +21,7 @@ describe "If user has two factor authentication" do before :each do - @user = create_user(:authy_id => 1) + @user = create_user(:authy_id => 75) @user.update_attribute(:authy_enabled, true) end @@ -84,7 +84,7 @@ it "Click link Request sms" do fill_sign_in_form(@user.email, '12345678') click_link 'Request SMS' - expect(page).to have_content("token was sent") + expect(page).to have_content("Token was sent.") end end end diff --git a/spec/rails-app/Gemfile.lock b/spec/rails-app/Gemfile.lock index f9ed03b..e346c49 100644 --- a/spec/rails-app/Gemfile.lock +++ b/spec/rails-app/Gemfile.lock @@ -1,9 +1,9 @@ PATH remote: ../.. specs: - devise-authy (1.7.0) + devise-authy (1.8.0) authy - devise + devise (>= 3.0.0) GEM remote: https://rubygems.org/ @@ -137,4 +137,4 @@ DEPENDENCIES sqlite3 BUNDLED WITH - 1.11.2 + 1.12.5