[openstreetmap/openstreetmap-website] Convert the languages fixtures to a factory (#1339)
Andy Allan
notifications at github.com
Wed Oct 26 12:16:54 UTC 2016
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.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1339
-- Commit Summary --
* Convert the languages fixtures to a factory
-- File Changes --
M test/controllers/diary_entry_controller_test.rb (13)
A test/factories/languages.rb (7)
D test/fixtures/languages.yml (16)
M test/models/diary_comment_test.rb (7)
M test/models/diary_entry_test.rb (7)
M test/models/language_test.rb (13)
M test/models/user_test.rb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1339.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1339.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161026/93e229cd/attachment.html>
More information about the rails-dev
mailing list