diff options
author | azul <azul@riseup.net> | 2013-01-14 11:05:52 -0800 |
---|---|---|
committer | azul <azul@riseup.net> | 2013-01-14 11:05:52 -0800 |
commit | ee2ea4ac8f4c6b0c3b09be6ed49e7a1faec7a9c1 (patch) | |
tree | 45eb6dcddd743de2b9f999d54751d9d4fc0fcbdd /help/test/unit/ticket_test.rb | |
parent | 4fd47160e0c43695aada330154f41821099bdda0 (diff) | |
parent | 7b323c5dbd7171cf98f69ca159b5aa2174a5d069 (diff) |
Merge pull request #15 from leapcode/feature/test-data-with-faker
Test data with faker, using factory girl
Diffstat (limited to 'help/test/unit/ticket_test.rb')
-rw-r--r-- | help/test/unit/ticket_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/help/test/unit/ticket_test.rb b/help/test/unit/ticket_test.rb index ac6426e..ce35e1d 100644 --- a/help/test/unit/ticket_test.rb +++ b/help/test/unit/ticket_test.rb @@ -32,6 +32,7 @@ class TicketTest < ActiveSupport::TestCase #p t.email_address #p t.email_address.strip =~ RFC822::EmailAddress assert !t.valid? + t.reload.destroy end test "creation validated" do |