]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/client_application_test.rb
Move vagrant provisioning script to a better location.
[rails.git] / test / integration / client_application_test.rb
index fd6f5ecfa0f23eec3604f3628c848126bf434fec..f40a966757aec4a808bbb6a90e71aadaf578307e 100644 (file)
@@ -79,27 +79,16 @@ class ClientApplicationTest < ActionDispatch::IntegrationTest
   ##
   # utility method to make the HTML screening easier to read.
   def assert_in_heading
-    assert_select "html:root" do
-      assert_select "body" do
-        assert_select "div.wrapper" do
-          assert_select "div.content-heading" do
-            yield
-          end
-        end
-      end
+    assert_select "div.content-heading" do
+      yield
     end
   end
 
   ##
   # utility method to make the HTML screening easier to read.
   def assert_in_body
-    assert_select "html:root" do
-      assert_select "body" do
-        assert_select "div#content" do
-          yield
-        end
-      end
+    assert_select "div#content" do
+      yield
     end
   end
-
 end