summaryrefslogtreecommitdiff
path: root/engines/support/test
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-23 11:24:21 +0200
committerAzul <azul@riseup.net>2016-05-23 11:24:21 +0200
commitfcc8207f84249612eba719b8aa77cd7c51e5ad5a (patch)
treed2b0b601c8d5875afd076be61f6a447cdb310d6c /engines/support/test
parentda00a2068ae8b6129384f06baafdc039bdaab003 (diff)
parentb851fe2fd6e0029df81976b647ede7190a1fd547 (diff)
Merge remote-tracking branch 'pr/220' into develop
Diffstat (limited to 'engines/support/test')
-rw-r--r--engines/support/test/unit/ticket_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/test/unit/ticket_test.rb b/engines/support/test/unit/ticket_test.rb
index c2c5e11..373f06c 100644
--- a/engines/support/test/unit/ticket_test.rb
+++ b/engines/support/test/unit/ticket_test.rb
@@ -8,12 +8,12 @@ class TicketTest < ActiveSupport::TestCase
test "ticket with default attribs is valid" do
t = FactoryGirl.build :ticket
- assert t.valid?
+ assert t.valid?, t.errors.full_messages.to_sentence
end
test "ticket without email is valid" do
t = FactoryGirl.build :ticket, email: ""
- assert t.valid?
+ assert t.valid?, t.errors.full_messages.to_sentence
end
test "ticket validates email format" do