Convert client applications fixtures into a factory2017-01-26T18:03:13ZAndy Allangit@gravitystorm.co.ukTom Hughestom@compton.nu2017-01-26T18:03:13Zhttps://git.openstreetmap.org/rails.git/commitdiff/8a6e8ae128d3cc9a991d119c45b9ddb13e848f97
Convert client applications fixtures into a factory
Closes #1415
Add support for Wikimedia authentication2016-06-17T15:47:03ZTom Hughestom@compton.nuTom Hughestom@compton.nu2016-06-17T15:47:03Zhttps://git.openstreetmap.org/rails.git/commitdiff/69b967c9ff7c185f99ba881a8b8591c02c809628
Add support for Wikimedia authentication
Closes #1146
Replace fixtures with factory for relation_tags2016-10-31T11:30:57ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-31T11:30:57Zhttps://git.openstreetmap.org/rails.git/commitdiff/aa185bf4f88e12bad895abaabc9948514e9f1ec5
Replace fixtures with factory for way_tags2016-10-31T10:49:51ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-31T10:49:51Zhttps://git.openstreetmap.org/rails.git/commitdiff/97d63db36993434d7175f0f7445e5b0b250d847f
Replace fixtures with factory for node_tags2016-10-30T17:28:01ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T17:28:01Zhttps://git.openstreetmap.org/rails.git/commitdiff/3026af170a18d04d624144251d7b3acdeee03fea
Replace fixtures with a factory for old_relation_tags2016-10-30T15:32:11ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T15:32:11Zhttps://git.openstreetmap.org/rails.git/commitdiff/aba28ec9e0fef281d0228cfd6b5fc4986c8e2f18
Replace fixtures with a factory for old_relation_tags
Convert fixtures to factory for old_way_tags2016-10-30T15:15:23ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T15:15:23Zhttps://git.openstreetmap.org/rails.git/commitdiff/e308da8daf91d4a720473111fef6f756d4510102
Replace fixtures with a factory for old_node_tags2016-10-30T14:36:33ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T14:36:33Zhttps://git.openstreetmap.org/rails.git/commitdiff/acb7f440690b1f773f71ded256f3986a5606b334
Replace fixtures with a factory for old_node_tags
Also includes a slight simplification of the old_node_tags tests.
Replace changeset_tags fixtures with a factory.2016-10-30T11:45:02ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T11:45:02Zhttps://git.openstreetmap.org/rails.git/commitdiff/596494a5901ceff765fe3cf35fe4a051b973cc79
Remove the changesets_subscribers fixture.2016-10-30T11:23:23ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-30T11:23:23Zhttps://git.openstreetmap.org/rails.git/commitdiff/4eeea7e70556aeb712575dc14ca17016e9768f5f
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.
Replace trace-related fixtures with factories.2016-10-29T14:21:52ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-29T14:21:52Zhttps://git.openstreetmap.org/rails.git/commitdiff/15689af6bfa6220b9c539eb0717a3d75cc3c4799
Replace trace-related fixtures with factories.
The mocking and stubbing in the controller tests is
unfortunate, but the models interact directly with the filesystem
using the trace id so that's hard to control any other way.
Convert the languages fixtures to a factory2016-10-26T12:14:52ZAndy Allangit@gravitystorm.co.ukAndy Allangit@gravitystorm.co.uk2016-10-26T12:14:52Zhttps://git.openstreetmap.org/rails.git/commitdiff/c365e2b28ac47e27b8cbbaca27fde59dedafdbca
Convert the languages fixtures to a factory
For some tests, the existance of an 'en' language is assumed by
the database structure (not null default 'en'::character varying) so
this can be created in a setup block.