14 lines
273 B
Ruby
14 lines
273 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe "maps/edit", :type => :view do
|
|
before(:each) do
|
|
@map = assign(:map, Map.create!())
|
|
end
|
|
|
|
it "renders the edit map form" do
|
|
render
|
|
|
|
assert_select "form[action=?][method=?]", map_path(@map), "post" do
|
|
end
|
|
end
|
|
end
|