Browse Source

sign in user in test

pull/477/head
Kat 3 years ago committed by Paul Robert Lloyd
parent
commit
8019e1c977
  1. 1
      spec/requests/users_controller_spec.rb

1
spec/requests/users_controller_spec.rb

@ -103,6 +103,7 @@ RSpec.describe UsersController, type: :request do
describe "title link" do describe "title link" do
it "routes user to the /logs page" do it "routes user to the /logs page" do
sign_in user
get "/", headers:, params: {} get "/", headers:, params: {}
follow_redirect! follow_redirect!
expect(path).to include("/logs") expect(path).to include("/logs")

Loading…
Cancel
Save