From 6459f75e0a172c458d40e6c4212e0e43af4287f2 Mon Sep 17 00:00:00 2001 From: Alexander Cam Liu Date: Fri, 26 Feb 2021 12:23:27 -0600 Subject: [PATCH] fix test with redirect to /courses --- spec/requests/short_codes_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/short_codes_controller_spec.rb b/spec/requests/short_codes_controller_spec.rb index 3e1e454dd8..7fceb7a082 100644 --- a/spec/requests/short_codes_controller_spec.rb +++ b/spec/requests/short_codes_controller_spec.rb @@ -4,7 +4,7 @@ let(:user) { FactoryBot.create(:user_profile) } let(:absolute_url) { FactoryBot.create(:short_code_short_code, uri: 'https://cnx.org') } - let(:relative_url) { FactoryBot.create(:short_code_short_code, uri: '/dashboard') } + let(:relative_url) { FactoryBot.create(:short_code_short_code, uri: '/courses') } let(:course) { FactoryBot.create :course_profile_course } let(:period) { FactoryBot.create :course_membership_period, course: course }