]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/note_test.rb
Notes: show first comment as marker tooltip
[rails.git] / test / models / note_test.rb
index 1c67a3aa0e4cbffa8a170fd457324eef58a8d343..4adbef4b884c9a734fc9688e8fd8d4ee9c49024c 100644 (file)
@@ -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