Commit graph

700 commits

Author SHA1 Message Date
Tom Hughes
23f568cf3a A few more edge cases 2015-03-08 23:02:04 +00:00
Tom Hughes
35be112092 Yet more tests... 2015-03-08 19:55:45 +00:00
Tom Hughes
51c5be98f7 Test some missing cases in the way controller 2015-03-08 18:01:19 +00: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
6ce635d5d3 Reduce duplication in the oauth tests 2015-03-07 11:17:17 +00:00
Tom Hughes
93fb360a08 Add a few more tests 2015-03-07 00:50:35 +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
6e3d183c40 Load API fixture for the search controller tests 2015-03-03 01:18:25 +00:00
Tom Hughes
c0e4394a48 Add extra tests for API and redaction controllers 2015-03-03 00:55:19 +00:00
Tom Hughes
305593a704 Load friends fixtures for diary entry tests 2015-03-02 21:46:04 +00:00
Tom Hughes
15b550182c Yet more tests... 2015-03-02 21:20:01 +00:00
Tom Hughes
dfc85f089a Test changeset and note comment notification emails 2015-03-02 00:43:07 +00:00
Tom Hughes
a79e6b9342 Load user_roles for permissions 2015-03-02 00:08:46 +00:00
Tom Hughes
1891efef06 Testing, testing, testing... 2015-03-01 23:05:32 +00:00
Tom Hughes
e07d225568 Fix rubocop warnings 2015-03-01 17:23:17 +00:00
Tom Hughes
fd588cd715 The test train rolls ever onwards... 2015-03-01 17:04:39 +00:00
Tom Hughes
38a74cf6a3 Fix some tests 2015-03-01 14:07:25 +00:00
Tom Hughes
766246a960 Moar tests! 2015-03-01 12:59:53 +00:00
Tom Hughes
bc056a5e98 More test coverage improvements 2015-03-01 00:44:32 +00:00
Tom Hughes
5ab7591d9c Reset locale after tests which change it finish 2015-02-28 07:38:12 +00:00
Tom Hughes
8cf82ea658 Load user_blocks as an API fixture 2015-02-28 01:00:30 +00:00
Tom Hughes
857f0f460b More work on test coverage 2015-02-28 00:45:56 +00:00
Tom Hughes
9ec625e352 Fix typo
Fixed #916
2015-02-27 17:02:53 +00:00
Tom Hughes
cd3db7df4d Fix validation failures for trace tags
Fixes #914
2015-02-27 10:04:40 +00:00
Tom Hughes
d4d1527a92 Fix rubocop warnings 2015-02-27 07:08:55 +00:00
Tom Hughes
f04211b172 Improve test coverage 2015-02-27 00:40:37 +00:00
Tom Hughes
f8f921e09d Add Coveralls support 2015-02-26 19:20:17 +00:00
Tom Hughes
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
Tom Hughes
eaf4b32a7f Rework OpenID tests for new flows using OmniAuth mocking 2015-02-25 01:07:23 +00:00
Tom Hughes
4bb9f96133 Set fixture class when using gpx_files 2015-02-25 01:06:55 +00:00
Tom Hughes
a6b84a0294 Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
Tom Hughes
8568c93703 More fixes to fixture loading in tests 2015-02-23 22:34:04 +00:00
Tom Hughes
711e1db5fe Load extra fixtures need for user controller tests 2015-02-22 21:54:22 +00:00
Tom Hughes
fa5c39d9bd Load user_roles fixtures so we know who is an administrator 2015-02-22 19:44:31 +00:00
Tom Hughes
c82c760e9d Load language fixtures before running the language tests 2015-02-22 19:26:53 +00:00
Tom Hughes
8e404f3a46 Fix some more rubocop style issues 2015-02-20 20:39:52 +00:00
Tom Hughes
4f4180e4bd Standardise on "hash rocket" style for hashes 2015-02-20 19:53:13 +00:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
5cbd4038ed Fix rubocop style issues 2015-02-20 08:56:16 +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
250bb47cc2 Merge remote-tracking branch 'systemed/routing' 2015-02-16 08:30:29 +00:00
Tom Hughes
27179c8706 Wrap flash messages in a div instead of a paragraph
This allows more complex HTML in the message, closing #896.
2015-02-11 21:32:56 +00:00
Tom Hughes
4cef51bcbe Add basic tests for the directions controller 2015-02-07 12:02:42 +00:00
Tom Hughes
7f81de2065 Don't try and match xmlns as an attribute
This doesn't seem to work with the new nokogiri based matching
in rails 4.2 probably because the attribute is removed by the
parser and used to set the namespace of the element.
2015-01-11 12:54:17 +00:00
Tom Hughes
a9a9ae2cbb Updated for changes in rails HTML testing 2015-01-11 12:53:06 +00:00
Tom Hughes
0ebbccdcef Fix invalid CSS selectors 2015-01-10 17:45:10 +00:00