forgeplus/spec/views/memos/index.html.erb_spec.rb

15 lines
235 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
require 'rails_helper'
RSpec.describe "memos/index", type: :view do
before(:each) do
assign(:memos, [
Memo.create!(),
Memo.create!()
])
end
it "renders a list of memos" do
render
end
end