We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0204d5 commit a3af40dCopy full SHA for a3af40d
spec/components/cms/course_card_component_spec.rb
@@ -3,7 +3,7 @@
3
require "rails_helper"
4
5
RSpec.describe Cms::CourseCardComponent, type: :component do
6
- let(:course) {Achiever::Course::Template.all.first}
+ let(:course) { Achiever::Course::Template.all.first }
7
before do
8
stub_course_templates
9
stub_duration_units
@@ -51,7 +51,6 @@
51
it "renders title as link" do
52
expect(page).to have_link(course.title, href: "/courses/#{course.activity_code}/#{course.title.parameterize}")
53
end
54
-
55
56
57
context "when course is nil" do
@@ -70,7 +69,6 @@
70
69
71
72
73
74
context "when description is nil" do
75
76
render_inline(described_class.new(
0 commit comments