mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
15 lines
245 B
Ruby
15 lines
245 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe "courses/index", type: :view do
|
|
before(:each) do
|
|
assign(:courses, [
|
|
Course.create!(),
|
|
Course.create!()
|
|
])
|
|
end
|
|
|
|
it "renders a list of courses" do
|
|
render
|
|
end
|
|
end
|