summaryrefslogtreecommitdiff
path: root/engines/support/test
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-03-22 08:34:36 +0100
committerAzul <azul@riseup.net>2017-03-22 08:34:36 +0100
commit8c9a7f1c18bea2d54d7a425fc0fab783ce8d275f (patch)
tree63b7e04e3216f0fedd8e9791960f1d4d3a9d5298 /engines/support/test
parent2f6273245e178387177db54e82d796e2b7b64525 (diff)
upgrade: bundle
update all the dependencies. minitest now wants assert_nil instead of assert_equal nil, ... braintree now uses update_attributes rather than save.
Diffstat (limited to 'engines/support/test')
-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