[openstreetmap/openstreetmap-website] Replace changeset_comments fixtures with a factory. (#1322)
Andy Allan
notifications at github.com
Wed Oct 12 14:48:02 UTC 2016
There's little point in testing ChangesetComment.count so I've removed that
test.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1322
-- Commit Summary --
* Replace changeset_comments fixtures with a factory.
-- File Changes --
M test/controllers/browse_controller_test.rb (3)
M test/controllers/changeset_controller_test.rb (13)
A test/factories/changeset_comments.rb (12)
D test/fixtures/changeset_comments.yml (31)
M test/integration/user_changeset_comments_test.rb (2)
M test/models/changeset_comment_test.rb (17)
M test/test_helper.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1322.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1322.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/1322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161012/e7283757/attachment-0001.html>
More information about the rails-dev
mailing list