Cleaning up

This commit is contained in:
echarp 2018-05-23 09:25:12 +02:00
parent 4002695e5d
commit 229e319332
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class ModerationsControllerTest < ActionDispatch::IntegrationTest
@moderation = events :proposed
decision = @moderation.decision_time
assert !@moderation.moderated?
assert_not @moderation.moderated?
assert_difference 'Event.moderated.count' do
put accept_moderation_url(@moderation)

View File

@ -74,7 +74,7 @@ class EventTest < ActiveSupport::TestCase
)
assert @event.save, @event.errors.messages
assert !@event.moderated?
assert_not @event.moderated?
@event.update moderated: 1