-require File.dirname(__FILE__) + '/../test_helper'
+require 'test_helper'
class ClientApplicationTest < ActionDispatch::IntegrationTest
fixtures :users, :client_applications
##
# 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