Tom Hughes
834a821d3c
Merge remote-tracking branch 'openstreetmap/pull/1492'
2017-03-16 19:02:35 +00:00
Andy Allan
6331e34638
Remove the link between the redaction owner and the user doing the redaction in tests.
2017-03-16 10:21:25 +00:00
Andy Allan
d2998065dc
Use redactions factory for old_way controller tests
2017-03-15 18:04:58 +00:00
Andy Allan
2cdc2e1cd8
Use redactions factory for old_node controller tests.
2017-03-15 17:50:57 +00:00
Tom Hughes
671467a6dd
Merge remote-tracking branch 'openstreetmap/pull/1491'
2017-03-15 17:37:13 +00:00
Andy Allan
99d2bbccbb
Use redaction factory for old_relation controller tests.
2017-03-15 17:13:47 +00:00
Andy Allan
5422c56301
Fix typos in assertion messages.
2017-03-15 17:06:29 +00:00
Andy Allan
a0899d1b0b
Use redactions factory in redaction controller test.
2017-03-15 17:01:41 +00:00
Andy Allan
006627789f
Create a redactions factory and use for model tests.
2017-03-15 16:24:39 +00:00
Andy Allan
5370f9c6a7
Refactor the oauth integration test to avoid using user fixtures.
2017-03-15 16:13:04 +00:00
Andy Allan
a6a1a6baa5
Use user factory for user_terms_seen integration test.
2017-03-15 15:53:47 +00:00
Andy Allan
1096bccf98
Use user factories for some changeset_controller tests.
...
Others are tightly interwoven with the fixtures and will be tackled seperately.
2017-03-15 15:41:42 +00:00
Tom Hughes
8ccd7364cd
Merge remote-tracking branch 'openstreetmap/pull/1488'
2017-03-15 14:22:59 +00:00
Andy Allan
8d2d6e1a52
Use a pending user for testing password resets.
2017-03-15 14:22:04 +00:00
Andy Allan
3d8dc64b9c
Use users factory for user_controller tests.
2017-03-15 11:56:36 +00:00
Tom Hughes
7c9229fbfc
Throw an exception if adding a note comment fails
2017-03-13 14:49:16 +00:00
Andy Allan
17ff182c96
Build pending users via factory
2017-03-13 10:20:06 +00:00
Simon Poole
9606e440bc
Return maximum size of bounding box for note retrieval
2017-03-13 08:53:49 +01:00
Tom Hughes
ae4c00da8c
Merge remote-tracking branch 'openstreetmap/pull/1484'
2017-03-10 15:58:57 +00:00
Tom Hughes
47a5d2f37d
Add some whitespace
2017-03-10 15:34:34 +00:00
Andy Allan
113506bf51
Use user factories for user_login integration tests.
...
The display_name logins were reworked to use downcase since the
factories supply users with an already-title-cased display_name.
The tests were also renamed to align better with the purpose of the
test rather than the name of the fixture used.
2017-03-10 14:53:36 +00:00
Andy Allan
b690feba15
Use user factories for page_locale integration tests.
2017-03-10 14:53:19 +00:00
Andy Allan
dfbb952707
Use user factories for user_block integration tests.
2017-03-10 14:48:29 +00:00
Andy Allan
4165bc0362
Use user factories for user_roles integration tests.
2017-03-10 11:02:40 +00:00
Andy Allan
1a1d924ae0
Use user factory for user_creation test.
2017-03-10 10:57:46 +00:00
Andy Allan
5de04a8cc2
Use user factory for application_helper tests.
2017-03-10 10:53:00 +00:00
Andy Allan
5ae96d6cb7
Use user factory for note_helper tests.
2017-03-10 10:33:59 +00:00
Tom Hughes
685df702ef
Merge remote-tracking branch 'openstreetmap/pull/1483'
2017-03-09 18:35:57 +00:00
Tom Hughes
da57077c0b
Improve trace#api_data tests
...
The api_data action doesn't actually take the username as an
arguement and should be modelled on api_read rather than the
actions that handle web views.
2017-03-09 18:28:46 +00:00
Andy Allan
56e979c353
Remove redundant tests for deleted traces, and rearrange comments and factory calls for consistency.
2017-03-09 17:21:46 +00:00
Andy Allan
8b9ad9bf4b
Use user factory for user_roles_helper test
2017-03-09 17:12:11 +00:00
Andy Allan
eac26c9a2c
Create a super_user factory.
2017-03-09 16:21:51 +00:00
Andy Allan
18c25b620b
Create a fresh user when requesting non-existent traces.
2017-03-09 14:50:02 +00:00
Andy Allan
f2479a8656
Use user factory for message model tests.
2017-03-09 11:52:31 +00:00
Andy Allan
c6c514fce7
Take the user from the node or changeset, rather than referring to the fixture.
2017-03-09 11:29:43 +00:00
Andy Allan
4736586355
Use user factory for note model test.
2017-03-09 11:06:07 +00:00
Andy Allan
8a6956eb22
Use user factory for oauth_token model test.
2017-03-09 11:04:29 +00:00
Andy Allan
5e78831d5c
Use user factory for user_preference model tests.
2017-03-09 10:57:57 +00:00
Andy Allan
2267f44954
Use user factory for trace model tests.
2017-03-09 10:53:11 +00:00
Andy Allan
2b06961ce3
Use user factory for trace_controller tests
2017-03-09 10:13:18 +00:00
Tom Hughes
d86380e7b5
Fix accidental change in comments
2017-03-06 18:01:26 +00:00
Andy Allan
d007956865
Use user factory for swf_controller tests.
2017-03-06 17:28:06 +00:00
Andy Allan
1d9e12b330
Use user factory for message_controller tests.
2017-03-06 17:25:55 +00:00
Andy Allan
f1397f4700
Use user factory for user_roles_controller tests.
2017-03-06 16:55:05 +00:00
Andy Allan
4bcd13a024
Use users factory for user_preferences_controller tests.
2017-03-05 16:47:40 +00:00
Andy Allan
02f7fb96e5
Use users factory for user_blocks_controller tests.
2017-03-05 16:34:59 +00:00
Andy Allan
912da4fc1e
Use users factory for redactions_controller tests.
2017-03-05 16:34:36 +00:00
Han Chao
49a7921ec8
Use local api to export map.osm
...
Closes #1282
2017-03-05 10:37:25 +00:00
Tom Hughes
f8f7cc4628
Update to rails 4.2.8
2017-02-23 21:18:57 +00:00
Andy Allan
6335891a4c
User factories for browse, oauth_clients and site controller tests.
2017-02-23 14:13:09 +00:00