Matt Amos
|
b8f6dbd403
|
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
|
2009-06-22 16:54:37 +00:00 |
|
Shaun McDonald
|
887eba8c8d
|
More tests to check that user creation works, and the url in the e-mail is the same. Seems that we can only test that a particular page is loading fine in all locales in the integration tests, and not the functional tests.
|
2009-06-07 21:07:07 +00:00 |
|
Tom Hughes
|
2f3e23f6eb
|
Move to version 2.3.2 of rails.
|
2009-06-04 08:08:24 +00:00 |
|
Shaun McDonald
|
6ba51da46e
|
translating the listing of diary entries. Adding some initial tests for checking that you don't get any errors in any locale, when listing the diary entries. Don't yet check for missing translations through an assert_select, .., :count => 0.
|
2009-05-27 15:06:25 +00:00 |
|
Shaun McDonald
|
dcca3ab0e9
|
More changeset test improvements. Another fixture was required for one of the tests
|
2009-04-29 17:29:58 +00:00 |
|
Shaun McDonald
|
10fdeb2021
|
Make node update work with the new require data public to edit policy. Added convenience testing method for the require data public. Add 2 new fixtures that are owned by the public user.
|
2009-04-26 22:46:41 +00:00 |
|
Matt Amos
|
f492a1b709
|
Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded.
|
2009-03-28 20:18:26 +00:00 |
|
Shaun McDonald
|
c76e60f052
|
Improving the not found handling of preferences. adding a user preference test. adding some utility methods to the test helper
|
2008-12-12 18:54:03 +00:00 |
|
Matt Amos
|
40adafa698
|
Adding missing fixtures to test helper.
|
2008-12-03 18:24:00 +00:00 |
|
Andy Allan
|
46c0e364ee
|
correcting typo on gps_points fixtures
|
2008-11-08 18:59:06 +00:00 |
|
Shaun McDonald
|
9705105681
|
Starting the gpx trace testing with additional fixtures
|
2008-10-30 18:50:45 +00:00 |
|
Shaun McDonald
|
427becc1db
|
Moving all the functional tests to the Rails 2 way, which uses less code by having an additional sub-class to take care of the duplicate code in every test. There is a bug in rails 2.0.2, which means that super doesn't get called in the setup method in the functional tests. This is fixed in Rails 2.1.2, thus a version bump should really be done.
|
2008-10-28 12:27:10 +00:00 |
|
Shaun McDonald
|
e18c33f733
|
Prepare for Rails 2.1+, as we will no longer be able to use a symbol in the set_fixture_class method, instead we must use a Class. This change doesn't affect Rails 2.0.2, as currently used. All tests still work. :-)
|
2008-10-27 18:45:28 +00:00 |
|
Matt Amos
|
6339473cb7
|
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current.
|
2008-10-21 10:52:52 +00:00 |
|
Matt Amos
|
89c677d881
|
Fixed fixtures and added new tests for ways and way_nodes.
|
2008-10-16 13:02:09 +00:00 |
|
Matt Amos
|
a2498928e4
|
Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.
|
2008-10-13 14:08:31 +00:00 |
|
Shaun McDonald
|
3d5ee2675b
|
Now just got one test to sort on the functional tests. All other tests are working and pass. Plenty more to write though.
|
2008-07-22 14:06:53 +00:00 |
|
Shaun McDonald
|
cf78f3e6dd
|
Can now run tests that use composite_primary_keys in the fixtures. Adding a new test to check that you can't add duplicate user preferences, and the display name of the user is guaranteed to be unique.
|
2008-07-15 15:51:45 +00:00 |
|
Frederik Ramm
|
d0aa199e92
|
- add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.
|
2008-03-16 23:16:18 +00:00 |
|
Frederik Ramm
|
78b440ffc1
|
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
|
2007-08-29 22:00:26 +00:00 |
|
Tom Hughes
|
79457cd43e
|
Factor out loading of the various fixtures needed to test API calls
into a shared method.
|
2007-07-27 08:47:35 +00:00 |
|
Tom Hughes
|
b13eb8824e
|
Add some basic tests for nodes.
|
2007-07-24 22:58:16 +00:00 |
|