summaryrefslogtreecommitdiff
path: root/engines/support/test/unit
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-03-22 07:46:58 +0000
committerazul <azul@riseup.net>2017-03-22 07:46:58 +0000
commit84be2700a09808ccae4a3f68a8586ce9aa74066c (patch)
tree63b7e04e3216f0fedd8e9791960f1d4d3a9d5298 /engines/support/test/unit
parent2f6273245e178387177db54e82d796e2b7b64525 (diff)
parent8c9a7f1c18bea2d54d7a425fc0fab783ce8d275f (diff)
Merge branch 'upgrade/bundle' into 'master'
upgrade: bundle Closes #13 See merge request !23
Diffstat (limited to 'engines/support/test/unit')
-rw-r--r--engines/support/test/unit/account_extension_test.rb2
-rw-r--r--engines/support/test/unit/ticket_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/test/unit/account_extension_test.rb b/engines/support/test/unit/account_extension_test.rb
index 0ecb1aa..1b97062 100644
--- a/engines/support/test/unit/account_extension_test.rb
+++ b/engines/support/test/unit/account_extension_test.rb
@@ -10,7 +10,7 @@ class AccountExtensionTest < ActiveSupport::TestCase
t = FactoryGirl.create :ticket_with_creator
u = t.created_by_user
Account.new(u).destroy
- assert_equal nil, Ticket.find(t.id)
+ assert_nil Ticket.find(t.id)
end
end
diff --git a/engines/support/test/unit/ticket_test.rb b/engines/support/test/unit/ticket_test.rb
index 373f06c..048704c 100644
--- a/engines/support/test/unit/ticket_test.rb
+++ b/engines/support/test/unit/ticket_test.rb
@@ -42,7 +42,7 @@ class TicketTest < ActiveSupport::TestCase
t = FactoryGirl.create :ticket_with_creator
u = t.created_by_user
Ticket.destroy_all_from(u)
- assert_equal nil, Ticket.find(t.id)
+ assert_nil Ticket.find(t.id)
end
=begin
# TODO: do once have current_user stuff in order