Skip to content

Commit

Permalink
fixup! wip commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyStabler committed Oct 17, 2019
1 parent e969843 commit 14327c4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/models/subject_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ class SubjectTest < ActiveSupport::TestCase

user = create(:user)
create(:notification, subject_url:remote_subject['url'], user: user)
create(:subject, url: remote_subject['url'])

subject = Subject.first
subject = create(:subject, url: remote_subject['url'])
subject.sync(remote_subject)
assert_equal 0, subject.comment_count
end
Expand All @@ -63,7 +61,6 @@ class SubjectTest < ActiveSupport::TestCase
remote_subject = load_subject('release.json')
subject = create(:subject, comment_count: nil)
subject.sync(remote_subject)
assert subject.body.present?
assert_nil subject.comment_count
end

Expand Down

0 comments on commit 14327c4

Please sign in to comment.