Browse Source

Rubocop

pull/313/head
baarkerlounger 3 years ago
parent
commit
ed7725e91c
  1. 2
      spec/features/admin_panel_spec.rb
  2. 1
      spec/requests/auth/passwords_controller_spec.rb

2
spec/features/admin_panel_spec.rb

@ -14,7 +14,7 @@ RSpec.describe "Admin Panel" do
it "shows the admin sign in page" do
visit("/admin")
expect(page).to have_current_path("/admin/sign-in")
expect(page).to have_content("CORE Admin Sign in")
expect(page).to have_content("Sign in to your CORE administration account")
end
context "with a valid 2FA code" do

1
spec/requests/auth/passwords_controller_spec.rb

@ -78,6 +78,7 @@ RSpec.describe Auth::PasswordsController, type: :request do
describe "reset password" do
let(:new_value) { "new-password" }
before do
allow(Sms).to receive(:notify_client).and_return(notify_client)
allow(notify_client).to receive(:send_sms).and_return(true)

Loading…
Cancel
Save