aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing/assertions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Compare content_type with Mime::XML instead of regexpBoris Peterbarg2015-03-161-1/+1
| | | | | Regexp is broken for both content types including charsets and for integration tests, where the content_type is a Mime::Type and not String
* Make sure assert_select can assert body tagRafael Mendonça França2014-11-181-1/+1
| | | | | | | | | This reverts commit f93df52845766216f0fe36a4586f8abad505cac4, reversing changes made to a455e3f4e9dbfb9630d47878e1239bc424fb7d13. Conflicts: actionpack/lib/action_controller/test_case.rb actionview/lib/action_view/test_case.rb
* Parse HTML as document fragment.Kasper Timm Hansen2014-09-291-1/+1
| | | | This is to match the changes in Rails Dom Testing rails/rails-dom-testing#20.
* We don't need loofah for the assertionsRafael Mendonça França2014-07-151-3/+2
| | | | We can just use nokogiri
* Moved html_document to ActionDispatch::Assertions. Included the ↵Timm2014-06-161-1/+12
| | | | Rails::Dom::Testing::Assertions there as well.
* Moved Dom and Selector assertions from ActionDispatch to ActionView.Timm2014-06-161-4/+0
|
* Removed tag.rb since it has been deprecated.Timm2014-06-151-2/+0
|
* Restructure TemplateAssertions-related code to eliminate circular requires.wycats2011-05-221-7/+6
| | | Also, no need to include dependencies in AS::Concerns inside included blocks.
* Remove assert_valid. It was already deprecated on Rails 2.3.José Valim2010-07-191-2/+0
|
* Fixed AD assertion autoloads [#3470 state:resolved]Joshua Peek2009-11-091-3/+16
|
* Move generic assertions into ActionDispatchJoshua Peek2009-04-301-0/+8