# -*- coding: utf-8 -*-
-require 'test_helper'
+require "test_helper"
class NoteTest < ActiveSupport::TestCase
fixtures :users, :notes, :note_comments
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