Skip to content

Commit

Permalink
fix test with redirect to /courses
Browse files Browse the repository at this point in the history
  • Loading branch information
camliu89 committed Feb 26, 2021
1 parent 6b3de5d commit 6459f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/short_codes_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 6459f75

Please sign in to comment.