Commit graph

7 commits

Author SHA1 Message Date
Jyri-Petteri Paloposki
13bdef74b3 Update the date formatting syntax 2025-06-29 13:25:14 +03:00
Jyri-Petteri Paloposki
a0768636c3 Try fixing a few test deprecations 2020-08-20 19:33:46 +03:00
Matt Rogers
2f85a42f91
Use the keyword args syntax for controller actions
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-11-03 15:02:00 -05:00
Dan Rice
689db4c9c3 Update assert_select for Nokogiri compatibility
assert_select has been moved into the rails-dom-testing gem and is now
based on Nokogiri.

* Remove assert_tag and assert_xml_select
* Quote CSS attribute selector values
* Use decoded versions of HTML in assert_select. Nokogiri decodes
  elements prior to matching.
* Add a test helper for entities such as `&nbsp;` for which it's
  difficult or confusing to include the decoded version directly in the
  assertion.
* Assert directly on Atom feeds' XML namespace because it isn't
  selectable as an attribute
2016-05-22 21:59:44 -04:00
Carsten Otto
ed3bca22a4 Remove 'project_hidden' state
Compute it using project/context state

Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Dan Rice
2386e67dec Simplify requiring of test helpers 2014-05-16 18:03:13 -04:00
Reinier Balt
0bc9b0397a move tests to new directory 2013-05-11 23:13:16 +02:00
Renamed from test/functional/contexts_controller_test.rb (Browse further)