diff --git a/spec/views/crops/show.html.haml_spec.rb b/spec/views/crops/show.html.haml_spec.rb index 475816923..1e0aaa528 100644 --- a/spec/views/crops/show.html.haml_spec.rb +++ b/spec/views/crops/show.html.haml_spec.rb @@ -35,7 +35,7 @@ describe "crops/show" do context "map" do it "has a map" do render - assert_select("div#map") + assert_select("div#cropmap") end it "explains what's shown on the map" do diff --git a/spec/views/places/index.html.haml_spec.rb b/spec/views/places/index.html.haml_spec.rb index ffddf2c0b..0e4af0bb1 100644 --- a/spec/views/places/index.html.haml_spec.rb +++ b/spec/views/places/index.html.haml_spec.rb @@ -6,6 +6,6 @@ describe "places/index" do end it "shows a map" do - assert_select "div#map" + assert_select "div#placesmap" end end