Replace changeset_comments fixtures with a factory.

There's little point in testing ChangesetComment.count so I've removed that
test.
This commit is contained in:
Andy Allan 2016-10-12 15:43:54 +01:00
parent c2e12ed77d
commit a91e50d308
7 changed files with 32 additions and 48 deletions

View file

@ -1,7 +1,7 @@
require "test_helper"
class UserChangesetCommentsTest < ActionDispatch::IntegrationTest
fixtures :users, :changesets, :changeset_comments
fixtures :users, :changesets
# Test 'log in to comment' message for nonlogged in user
def test_log_in_message