openstreetmap-website/test/controllers
Andy Allan feb3b03227 Use model relations when creating objects from factories
Rather than passing around record ids explicitly, we can use the
model relations and pass around the models. This makes reading the
tests slightly simpler to read.
2016-10-19 11:32:08 +01:00
..
amf_controller_test.rb Fix rubocop warnings 2016-06-09 22:18:28 +01:00
api_controller_test.rb Fix rubocop warnings 2016-07-13 09:50:23 +01:00
browse_controller_test.rb Replace changeset_comments fixtures with a factory. 2016-10-12 15:44:27 +01:00
changeset_controller_test.rb Replace changeset_comments fixtures with a factory. 2016-10-12 15:44:27 +01:00
diary_entry_controller_test.rb Use model relations when creating objects from factories 2016-10-19 11:32:08 +01:00
directions_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
export_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
geocoder_controller_test.rb look for extra place tags in Nominatim search results 2016-09-26 13:00:10 +02:00
message_controller_test.rb Improve test coverage 2015-02-27 00:40:37 +00:00
node_controller_test.rb Fix new rubocop warnings 2016-02-05 13:35:26 +00:00
notes_controller_test.rb Use model relations when creating objects from factories 2016-10-19 11:32:08 +01:00
oauth_clients_controller_test.rb Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
oauth_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
old_node_controller_test.rb Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
old_relation_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
old_way_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
redactions_controller_test.rb Add extra tests for API and redaction controllers 2015-03-03 00:55:19 +00:00
relation_controller_test.rb Fix rubocop warnings 2016-06-09 22:18:28 +01:00
search_controller_test.rb Load API fixture for the search controller tests 2015-03-03 01:18:25 +00:00
site_controller_test.rb Add a note_with_comments factory 2016-10-10 15:08:11 +01:00
swf_controller_test.rb Fix some tests 2015-03-01 14:07:25 +00:00
trace_controller_test.rb Fix tests that made assumptions about tag ordering 2016-03-09 13:47:05 +00:00
user_blocks_controller_test.rb Fix rubocop warnings 2015-11-19 21:41:33 +00:00
user_controller_test.rb Use model relations when creating objects from factories 2016-10-19 11:32:08 +01:00
user_preference_controller_test.rb The test train rolls ever onwards... 2015-03-01 17:04:39 +00:00
user_roles_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
way_controller_test.rb Fix rubocop warnings 2016-06-09 22:18:28 +01:00