X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..35fbcf28154b6f15f697018016fbabc952e018a5:/test/models/note_test.rb diff --git a/test/models/note_test.rb b/test/models/note_test.rb index 1c67a3aa0..4adbef4b8 100644 --- a/test/models/note_test.rb +++ b/test/models/note_test.rb @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -require 'test_helper' +require "test_helper" class NoteTest < ActiveSupport::TestCase fixtures :users, :notes, :note_comments @@ -30,7 +30,7 @@ class NoteTest < ActiveSupport::TestCase assert_not_nil note.closed_at end - def test_close + def test_reopen note = notes(:closed_note_with_comment) assert_equal "closed", note.status assert_not_nil note.closed_at