From 9453aa851fc62e5706214ca00515802d156c7b92 Mon Sep 17 00:00:00 2001 From: Alkesh Vaghmaria Date: Fri, 26 Jul 2024 15:21:56 +0100 Subject: [PATCH] remove sessions spec --- spec/requests/sessions_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 spec/requests/sessions_spec.rb diff --git a/spec/requests/sessions_spec.rb b/spec/requests/sessions_spec.rb deleted file mode 100644 index 2fbcf95a4c..0000000000 --- a/spec/requests/sessions_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require "rails_helper" - -RSpec.describe "Sessions", type: :request do - before { create(:journey_configuration, :student_loans) } - - describe "#refresh" do - it "updates the last_seen_at session timestamp and responds with OK" do - start_student_loans_claim - - travel_to(1.day.from_now) do - get refresh_session_path - - expect(session[:last_seen_at]).to eql(Time.zone.now) - expect(response).to have_http_status(:ok) - end - end - end -end