spec/spec/rails/matchers/assert_select_spec.rb in dchelimsky-rspec-rails-1.1.12 vs spec/spec/rails/matchers/assert_select_spec.rb in dchelimsky-rspec-rails-1.1.99.1
- old
+ new
@@ -784,9 +784,10 @@
response.should have_tag("#wrapper .piece h3", :text => "Another")
end
end
describe 'selecting in HTML that contains a mock with null_object' do
+ include ActionController::Assertions::SelectorAssertions
module HTML
class Document
def initialize_with_strict_error_checking(text, strict=false, xml=false)
initialize_without_strict_error_checking(text, true, xml)
end
\ No newline at end of file