Re-namespacing a bit to clear out some fairly old stuff from the top level

This commit is contained in:
Dan Buch
2013-01-22 19:10:10 -05:00
parent ab43fb0146
commit 92f7543872
485 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
require 'spec_helper'
describe "/maps/new.html.erb" do
include MapsHelper
before(:each) do
assigns[:map] = stub_model(Map,
:new_record? => true,
:name => "value for name"
)
end
it "renders new map form" do
render
response.should have_tag("form[action=?][method=post]", maps_path) do
with_tag("input#map_name[name=?]", "map[name]")
end
end
end