Tom Hughes
|
fe1e28b4f4
|
Fix more parameter sanitisation issues and add tests
|
2017-06-29 20:52:57 +01:00 |
|
Tom Hughes
|
03408b6294
|
Update get/post etc to remove use of deprecated syntax
|
2017-06-27 08:26:44 +01:00 |
|
Andy Allan
|
396f2e28dd
|
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
|
2017-06-23 14:03:57 +01:00 |
|
Tom Hughes
|
5b33f3f8e3
|
Fix rubocop warnings
|
2017-06-02 00:08:30 +01:00 |
|
Andy Allan
|
060230fb94
|
Ensure closed changesets appear in the feed, and update some misleading comments.
|
2017-06-01 15:43:51 +01:00 |
|
Andy Allan
|
4ee270df6f
|
Refactor the assert_changeset helper to take an array of changesets, instead of ids.
|
2017-05-31 18:08:20 +01:00 |
|
Andy Allan
|
241c724adb
|
Only use changesets from factories for the test_query changeset controller tests.
|
2017-05-31 18:02:56 +01:00 |
|
Andy Allan
|
692c0c39b6
|
Create objects via factories, rather than implicity relying on fixtures.
|
2017-05-31 17:53:07 +01:00 |
|
Andy Allan
|
2bcdf9abaa
|
Rework the changeset feed tests.
These now include explicit tests for the changesets expected, as
well as refactoring so that they don't rely on fixtures.
|
2017-05-31 17:39:58 +01:00 |
|
Andy Allan
|
f735b07309
|
Refactor some controller tests to use factories.
|
2017-05-31 14:51:53 +01:00 |
|
Andy Allan
|
fffc572767
|
Convert more changeset controller tests to use factories.
|
2017-05-31 12:29:42 +01:00 |
|
Andy Allan
|
cedbd885b7
|
Refactor more changeset controller tests to use factories.
|
2017-05-31 11:33:32 +01:00 |
|
Andy Allan
|
90918ade92
|
Convert more changeset controller tests to use factories.
|
2017-05-31 10:59:29 +01:00 |
|
Andy Allan
|
6b6d2447e3
|
Refactor more changeset_controller tests to use factories.
|
2017-05-24 17:31:56 +01:00 |
|
Andy Allan
|
8441bcf173
|
Refactor some changesets controller tests to use factories.
|
2017-05-24 17:03:07 +01:00 |
|
Andy Allan
|
71ba6ccdd1
|
Refactor the changeset query tests to use factories.
Unfortunately some references to fixtures have to remain until they
are finally removed.
|
2017-05-24 16:28:58 +01: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 |
|
Andy Allan
|
c84a371d97
|
Revert changes where the user is a query parameter
|
2017-02-22 11:07:43 +00:00 |
|
Andy Allan
|
7d9d496da2
|
Pass the user object, rather than the id, for sessions.
This simplifies the code slightly.
|
2017-02-22 09:57:18 +00:00 |
|
Tom Hughes
|
970e1a99d7
|
Merge remote-tracking branch 'openstreetmap/pull/1367'
|
2016-12-18 16:29:33 +00:00 |
|
Tom Hughes
|
fc0aebc1a8
|
Merge remote-tracking branch 'openstreetmap/pull/1352'
|
2016-10-30 16:59:20 +00:00 |
|
Andy Allan
|
acb7f44069
|
Replace fixtures with a factory for old_node_tags
Also includes a slight simplification of the old_node_tags tests.
|
2016-10-30 15:36:33 +01:00 |
|
Andy Allan
|
596494a590
|
Replace changeset_tags fixtures with a factory.
|
2016-10-30 12:45:02 +01:00 |
|
Andy Allan
|
4eeea7e705
|
Remove the changesets_subscribers fixture.
Since there is no ChangesetsSubscribers model, we can't use a factory.
Instead we create the associations explicitly when needed.
|
2016-10-30 12:23:23 +01:00 |
|
Andy Allan
|
a91e50d308
|
Replace changeset_comments fixtures with a factory.
There's little point in testing ChangesetComment.count so I've removed that
test.
|
2016-10-12 15:44:27 +01:00 |
|
Andy Allan
|
bfe760a4b0
|
Replace friends fixture with a factory
|
2016-10-05 13:18:45 +01:00 |
|
Tom Hughes
|
5f4dcd34ff
|
Fix some rubocop warnings
|
2016-09-15 22:41:07 +01:00 |
|
Tom Hughes
|
72e71b9972
|
Fix rubocop warnings
|
2016-06-09 22:18:28 +01:00 |
|
Tom Hughes
|
246d8a4452
|
Test titles in changeset feed
|
2016-03-14 21:18:26 +00:00 |
|
Aditya Prakash
|
341f6cd9fe
|
Do not hyperlink profiles of deleted users
|
2016-02-15 20:47:53 +05:30 |
|
Tom Hughes
|
5d3ecffa28
|
Fix new rubocop warnings
|
2016-02-05 13:35:26 +00:00 |
|
Tom Hughes
|
8fe1899596
|
Fix rubocop warnings
|
2016-01-19 09:51:24 +00:00 |
|
Tom Hughes
|
c9d35839be
|
Fix new rubocopy warnings
|
2015-08-18 20:57:14 +01:00 |
|
Tom Hughes
|
2af0840ff3
|
Fix style issues found by new rubocop version
|
2015-04-14 09:38:24 +01:00 |
|
Tom Hughes
|
f8de0c1811
|
Ever more tests...
|
2015-03-08 16:47:35 +00:00 |
|
Tom Hughes
|
7fef0353f2
|
More test work
|
2015-03-08 00:48:13 +00:00 |
|
Tom Hughes
|
77e8a16a15
|
Avoid relying on the order in which emails are sent
|
2015-03-05 00:16:26 +00:00 |
|
Tom Hughes
|
21d60e359a
|
Tests!
|
2015-03-04 21:49:43 +00:00 |
|
Tom Hughes
|
dfc85f089a
|
Test changeset and note comment notification emails
|
2015-03-02 00:43:07 +00:00 |
|
Tom Hughes
|
f04211b172
|
Improve test coverage
|
2015-02-27 00:40:37 +00:00 |
|
Tom Hughes
|
a6b84a0294
|
Fix more rubocop style issues
|
2015-02-24 23:12:02 +00:00 |
|
Tom Hughes
|
dc2a2c8ebd
|
Standardise on double quoted strings
|
2015-02-20 19:47:26 +00:00 |
|
Tom Hughes
|
baf10cd392
|
Fix rubocop lint issues
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
ef7f3d800c
|
Fix most auto-correctable rubocop issues
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
34e3e51456
|
Cleanup trailing whitespace
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
0ebbccdcef
|
Fix invalid CSS selectors
|
2015-01-10 17:45:10 +00:00 |
|
Tom Hughes
|
0d7f7944bb
|
Fix invalid CSS selectors
|
2015-01-10 15:58:30 +00:00 |
|
Tom Hughes
|
6af8f8a9e3
|
Fix invalid CSS selectors
|
2015-01-10 12:41:09 +00:00 |
|
Tom Hughes
|
f636391580
|
Move changeset comment feeds out of the API namespace
|
2014-10-23 21:40:13 +01:00 |
|
Tom Hughes
|
72a7fc67ca
|
Tidy up changeset comment tests and beef them up a bit
|
2014-10-23 21:24:51 +01:00 |
|