Commit graph

50 commits

Author SHA1 Message Date
Jyri-Petteri Paloposki
4ab8837c2c Fix the new locale test breaking other tests because of the locale user bleeding to other tests (models) 2022-08-14 10:56:20 +03:00
Jyri-Petteri Paloposki
e669a18733 Test the index page with all locales to make sure missing frontend locale files aren't fatal 2022-08-11 23:58:04 +03:00
Jyri-Petteri Paloposki
6c0d3ca1b3 Use the new fork gem 2021-08-25 17:18:57 +03:00
Jyri-Petteri Paloposki
84429bdb8e Fixed the last test 2020-07-20 20:54:50 +03:00
Jyri-Petteri Paloposki
149dbe7e27 More fixed tests 2020-07-20 20:25:35 +03:00
Jyri-Petteri Paloposki
efee4976b0 Make email address voluntary in preferences; update tests to handle the added email field better 2020-07-20 20:08:18 +03:00
Jyri-Petteri Paloposki
43523d8191 Test the RSS feed of starred, active todos 2019-05-22 00:40:58 +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
Matt Rogers
71c95c0d01
Switch assert_not_equal to refute_equal
Preferring to use minitest methods here instead of test-unit.
2018-10-19 11:35:52 -05:00
Dan Rice
58e2b82315 Isolate SITE_CONFIG in tests using minitest-stub-const 2016-05-22 21:59:44 -04: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
Dan Rice
ea0d40060a Remove support for deprecated password-hashing algorithm
* Remove all methods implementing and checking for the old algorithm
* Document a pre-upgrade step to check for remaining obsolete passwords
* Remove config.salt
2014-11-15 10:28:29 -05:00
Dan Rice
2386e67dec Simplify requiring of test helpers 2014-05-16 18:03:13 -04:00
Reinier Balt
595806be87 add parameter to REST api for todos to limit result to active todos. Fixes #1388 2014-05-16 15:33:45 +02:00
Reinier Balt
671f64b419 move to strong_parameters of rails4. 2013-05-27 12:44:31 +02:00
Reinier Balt
7465ecce26 Start using actionpack-xml_parser as a gem
XML param parsing was removed from rails 4. We may need to look into dropping support 
for xml api perhaps in favor of a good json api
2013-05-13 15:36:33 +02:00
Reinier Balt
08498fee4f fix failing tests
Includes a monkey patch for Arel that may need to be removed when 4.0.0 final ships
2013-05-13 15:35:21 +02:00
Reinier Balt
0bc9b0397a move tests to new directory 2013-05-11 23:13:16 +02:00
Reinier Balt
ef91dd0c64 another set of dynamic finder migrations. All non-cucumber tests pass 2013-02-27 11:50:49 +01:00
Dan Rice
c838272622 Fix redirect to home page after open signup
Fixes #1349
2012-11-29 16:27:28 -05:00
Reinier Balt
63175c115b all non-cucumber tests are passing 2012-04-30 13:56:41 +02:00
Reinier Balt
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
Reinier Balt
c7e68aa8b6 fix #1229. Thanks popsch for the testscript and the initial pull request 2012-03-19 20:04:56 +01:00
Reinier Balt
50bc2623d9 fix #1224. Allow existing and non-existing project/context names in REST API 2011-11-21 15:24:29 +01:00
Reinier Balt
960326efb4 Fix #1223 for the single tag and single dependency case in the REST API 2011-11-20 14:48:49 +01:00
Reinier Balt
906ff11633 fix failing test and make sure that you can supply 'starred' tag. Refactor todo model 2011-11-16 16:37:04 +01:00
Stefan Richter
081a55d6ac Fixup tests 2011-11-13 21:39:04 +01:00
Stefan Richter
9eae8a7068 improving todo creation tests and implement context, project and tag setting/creation 2011-11-13 21:12:51 +01:00
Stefan Richter
3180164ed0 indentation fix 2011-11-13 21:12:21 +01:00
Stefan Richter
5ff315dac6 adding tests for creating todos via REST 2011-11-13 21:12:21 +01:00
Stefan Richter
b27b817ec5 re-adding removed tests - all green 2011-10-06 21:13:31 +02:00
Stefan Richter
71643bb1b0 fix bug #858 by adding information on todos to project xml and providing a test for it 2011-10-06 17:32:39 +02:00
Reinier Balt
8fe5552d64 fix regression by last commit
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-12 22:58:39 +02:00
Reinier Balt
f5cabbf74d fix #1194 by checking the project_id and context_id 2011-09-10 02:31:53 +02:00
Jan Stępień
34e0573fc4 Added to fixtures a user with a SHA-1 password 2011-09-07 16:06:02 +02:00
Matt Rogers
55bf457740 Allow projects to have commas in their name.
This removes the validation that checks to make sure there is no comma
in the name, and updates the tests to match.
2011-09-01 23:12:26 -05:00
Reinier Balt
35fe362b93 fix #857 and further refactoring for better done view 2011-07-09 17:21:34 +02:00
Reinier Balt
91eeb0c6aa update require statements to fix path issue 2011-06-09 14:49:36 +02:00
Reinier Balt
564f209800 fix #1062. I did not test is, so please reopen ticket if it does not work :-) 2011-02-08 23:03:05 +01:00
Reinier Balt
6744a22633 add test for #1068 2011-02-04 23:04:56 +01:00
Reinier Balt
6443adac78 fix stories_test to run again. Using ActiveRecordStore for session aparently did not work here 2011-02-04 16:23:47 +01:00
Reinier Balt
cafa774b4c refactor application.rb further and migrate recurring todos
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Eric Allen
3e177c7b81 Remove some tests we can no longer run
See #965 for rationale and updates
2009-12-08 12:36:00 -05:00
Eric Allen
0dfb1aafda The syntax of assert_difference has changed
You pass it a string now, instead of an object and a method
2009-12-07 18:41:23 -05:00
Reinier Balt
4ed5567885 get tests running again 2009-08-05 21:00:41 +02:00
Eric Allen
8076f4fe72 Fixed #814. We need to include recurring todo fixtures in any test suites that include todo fixtures 2009-01-23 14:20:03 -05:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
epall
8783beb280 Added SMS and MMS gateway that can handle a variety of messages formats along with a set of testes for it.
NOTE: this is the first patch submitted on ticket
2008-09-06 18:08:34 -07:00
Luke Melia
0600756bbf Added missing fixture to context API integration test. Previously caused a failure when run in isolation. 2008-06-17 12:35:36 -04:00
bsag
4cbf5a34d3 Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
2008-05-20 21:28:26 +01:00