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

14 lines
229 B
Ruby

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