diff options
author | jessib <jessib@riseup.net> | 2012-10-03 16:53:00 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-10-03 16:53:00 -0700 |
commit | c89610d1aad8500b4f7058c970bb07a60a55a5ce (patch) | |
tree | 9d70ecfc7111355b4c3512a3b91929b5376f4b60 /help/test/unit/ticket_test.rb | |
parent | 237722ee553919b1e09c5e07b44750893780557c (diff) |
Some model/unit test tweaks
Diffstat (limited to 'help/test/unit/ticket_test.rb')
-rw-r--r-- | help/test/unit/ticket_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/help/test/unit/ticket_test.rb b/help/test/unit/ticket_test.rb index 2dbd63c..c3a4759 100644 --- a/help/test/unit/ticket_test.rb +++ b/help/test/unit/ticket_test.rb @@ -14,6 +14,11 @@ class TicketTest < ActiveSupport::TestCase assert t.valid? assert_equal t.title, 'test title' + assert t.is_open + t.close + assert !t.is_open + t.reopen + assert t.is_open #user = LeapWebHelp::User.new(User.valid_attributes_hash) #user = LeapWebUsers::User.create |