summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/u2f.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/fixtures/u2f.rb')
-rw-r--r--spec/javascripts/fixtures/u2f.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/fixtures/u2f.rb b/spec/javascripts/fixtures/u2f.rb
index f52832b6efb..8ecbc0390cd 100644
--- a/spec/javascripts/fixtures/u2f.rb
+++ b/spec/javascripts/fixtures/u2f.rb
@@ -23,7 +23,7 @@ context 'U2F' do
post :create, params: { user: { login: user.username, password: user.password } }
- expect(response).to be_success
+ expect(response).to be_successful
end
end
@@ -38,7 +38,7 @@ context 'U2F' do
it 'u2f/register.html' do
get :show
- expect(response).to be_success
+ expect(response).to be_successful
end
end
end