Browse Source

Update spec/requests/case_log_controller_spec.rb

Co-authored-by: Dushan <47317567+dushan-madetech@users.noreply.github.com>
pull/143/head
baarkerlounger 4 years ago committed by GitHub
parent
commit
aa65c02fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spec/requests/case_log_controller_spec.rb

2
spec/requests/case_log_controller_spec.rb

@ -181,7 +181,7 @@ RSpec.describe CaseLogsController, type: :request do
end end
context "a user that is not signed in" do context "a user that is not signed in" do
it "does not let you get case log tasklist pages you don't have access to" do it "does not let the user get case log tasklist pages they don't have access to" do
get "/case-logs/#{case_log.id}", headers: headers, params: {} get "/case-logs/#{case_log.id}", headers: headers, params: {}
expect(response).to redirect_to("/users/sign-in") expect(response).to redirect_to("/users/sign-in")
end end

Loading…
Cancel
Save