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

14 lines
239 B
Ruby

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