Mikel Maron
3726d561ea
last minor fixes
2016-10-11 20:42:10 -04:00
Tom Hughes
c2e12ed77d
Add a note_with_comments factory
2016-10-10 15:08:11 +01:00
Tom Hughes
3123822bba
Merge remote-tracking branch 'openstreetmap/pull/1312'
2016-10-10 13:48:09 +01:00
Mikel Maron
6b7ebf6dc4
clean up comments
2016-10-07 09:04:44 -04:00
Mikel Maron
8272a53ab9
fix rubocop warnings
2016-10-07 06:36:14 -04:00
Mikel Maron
a32076abd6
fix rubocop warnings
2016-10-07 06:32:05 -04:00
Mikel Maron
e055eaf690
tests passing
2016-10-06 21:33:47 -04:00
Andy Allan
c302174b0c
Update notes_controller_test to use note and note_comment factories
...
I've ported across the naming for each note from the old fixture names.
This helps in the mega-tests where multiple notes are tested at the
same time.
The number or results have changed in some tests, since there's little
point in creating e.g. 5 note comments when 2 is enough to test the
functionality.
2016-10-06 09:15:47 +01:00
Andy Allan
886dc00ad4
Update site_controller_test to use note and note_comment factories.
2016-10-06 09:04:06 +01:00
Andy Allan
5037e016cd
Update browse_controller_test to use note and note_comment factories.
2016-10-06 09:03:31 +01:00
Andy Allan
bfe760a4b0
Replace friends fixture with a factory
2016-10-05 13:18:45 +01:00
Mikel Maron
44b08cc35d
not api endpoints, moved to button, fixed notifier message, fixed tests
2016-10-03 22:20:04 -04:00
Mikel Maron
443080d7b0
WIP diary comment subscriptions
2016-10-03 15:04:22 -04:00
Sarah Hoffmann
5efbc8a8b7
look for extra place tags in Nominatim search results
...
Administrative boundaries at municipality level are generally
better described by the place node (as town, village etc.).
Nominatim exports the place type in extratags if it was able
to merge place nodes with admin boundaries. Use this preferably
to create the descriptive term.
2016-09-26 13:00:10 +02:00
Tom Hughes
5f4dcd34ff
Fix some rubocop warnings
2016-09-15 22:41:07 +01:00
Andy Allan
516979b045
Add additional list items to ensure they are not selected
...
The other list tests already have assetions showing the different
lengths of lists.
2016-09-15 11:06:37 +01:00
Andy Allan
f1713320c2
Remove diary_entry and diary_comment fixtures, and refactor tests.
...
Note that you might need to empty the tables in your local test
database, since the removed fixtures may still linger there.
2016-09-14 12:41:58 +01:00
Andy Allan
ea610c8c3c
Refactor tests to use factories instead of fixtures
2016-09-08 11:44:24 +01:00
Matt Amos
119016255e
More cleanup after tests.
2016-08-22 19:05:11 +01:00
Matt Amos
c3ad6aa292
More whitespace fixes. Attempting to get tests to pass.
2016-08-22 18:38:03 +01:00
Matt Amos
757a1aaa85
Made rubocop happy by formatting and minor syntax tweaks.
2016-08-22 17:24:10 +01:00
Shrey
cf639202b8
Added a few more tests
2016-08-22 16:17:54 +01:00
Shrey
25737ce46e
Added a few tests
2016-08-22 16:17:54 +01:00
Shrey
965f32d545
Fixed existing tests
2016-08-22 16:17:54 +01:00
Shrey
cf4cfc530a
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
2016-08-22 16:17:54 +01:00
Shrey
d5f02968f6
Fixed tests + Altered migration file + Added reporting strings + Added update method
2016-08-22 16:17:54 +01:00
Shrey
faf4c5aa7a
Fixed tests + Added new ones
2016-08-22 16:17:21 +01:00
Shrey
453f758f91
Controllers + a few tests + new notification added. Work pending on the notification view
2016-08-22 16:13:31 +01:00
Simon Poole
0837205d02
Merge message when Gravatar status has changed with email confirmation
...
Merge message when Gravatar status has changed with email confirmation and make messages more verbose and friendly.
2016-08-19 08:59:40 +02:00
Simon Poole
90b7101cc3
Add tests for change of gravatar use depending on email
2016-08-16 22:09:11 +02:00
Simon Poole
05cd781b25
Remove default enabling of gravatar, check on initial confirmation of e-mail address and on any changes afterward if
...
a gravatar exists and enable then if the user hasn't uploaded a picture.
2016-08-16 21:42:02 +02:00
Tom Hughes
c70a1fe933
Add support for GitHub authentication
2016-07-14 09:40:45 +01:00
Tom Hughes
dd8ebf9b09
Fix rubocop warnings
2016-07-13 09:50:23 +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
Tom Hughes
f94340b9e8
Fix tests that made assumptions about tag ordering
2016-03-09 13:47:05 +00:00
Tom Hughes
f0fa701563
Treeat user as logged in after a password reset
...
Fixes #1160
2016-02-26 16:30:32 +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
Bryan Housel
98e2884f77
Remove test for iD and Internet Explorer
2015-12-10 18:48:22 -08:00
Tom Hughes
081ac24295
Fix rubocop warnings
2015-11-19 21:41:33 +00:00
Tom Hughes
c9fdd5d3cb
Don't send note comment notifications to deleted users
2015-10-30 19:20:36 +00:00
Tom Hughes
fe4d50588d
Update test for changes in #903
2015-08-27 21:55:48 +01:00
Tom Hughes
c9d35839be
Fix new rubocopy warnings
2015-08-18 20:57:14 +01:00
Tom Hughes
5dc3e5b48a
Don't show hidden notes to non-moderators in the user notes list
...
Fixes #921
2015-08-12 17:42:14 +01:00
Tom Hughes
caa1a0128a
Hide hidden notes and comments correctly in the data browser
2015-08-12 17:20:30 +01:00
Tom Hughes
1b6c214ab5
Add tests for new note GPX elements
2015-08-10 19:19:23 +01:00
Markus Heidelberg
166dc76ae9
Make notes GPX valid and add useful official elements
...
The "creator" attribute is required and "extensions" is the correct
name of this element.
Validated with SAXCount from the xerces-c package:
$ SAXCount -v=always -n -s -f notes.gpx
Original error messages:
Error at file /home/markus/notes.gpx, line 2, char 171
Message: no declaration found for element 'gpx'
Error at file /home/markus/notes.gpx, line 2, char 171
Message: attribute 'version' is not declared for element 'gpx'
After adding the "xmlns" attribute:
Error at file /home/markus/notes.gpx, line 2, char 213
Message: missing required attribute 'creator'
Error at file /home/markus/notes.gpx, line 18, char 14
Message: no declaration found for element 'extension'
Error at file /home/markus/notes.gpx, line 26, char 7
Message: element 'extension' is not allowed for content model '(ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,extensions?)'
The current errors now are caused by the missing XML schema for the
extensions.
Also add the time, name and link elements.
2015-08-10 19:11:18 +01:00
Tom Hughes
93a617fec9
Error if geocoder#search is called with no arguments
2015-07-26 22:58:41 +01:00