metamaps--metamaps/spec/views/topics/index.html.erb_spec.rb

15 lines
229 B
Ruby
Raw Normal View History

require 'rails_helper'
RSpec.describe "topics/index", :type => :view do
before(:each) do
assign(:topics, [
Topic.create!(),
Topic.create!()
])
end
it "renders a list of topics" do
render
end
end