forgeplus/spec/views/courses/show.html.erb_spec.rb

12 lines
212 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
require 'rails_helper'
RSpec.describe "courses/show", type: :view do
before(:each) do
@course = assign(:course, Course.create!())
end
it "renders attributes in <p>" do
render
end
end