summaryrefslogtreecommitdiff
path: root/engines/support
diff options
context:
space:
mode:
Diffstat (limited to 'engines/support')
-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 dd7e77d..0ecb1aa 100644
--- a/engines/support/test/unit/account_extension_test.rb
+++ b/engines/support/test/unit/account_extension_test.rb
@@ -3,7 +3,7 @@ require 'test_helper'
class AccountExtensionTest < ActiveSupport::TestCase
setup do
- InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false)
+ InviteCodeValidator.any_instance.stubs(:validate)
end
test "destroying an account triggers ticket destruction" do
diff --git a/engines/support/test/unit/ticket_test.rb b/engines/support/test/unit/ticket_test.rb
index 7727650..7b5281f 100644
--- a/engines/support/test/unit/ticket_test.rb
+++ b/engines/support/test/unit/ticket_test.rb
@@ -3,7 +3,7 @@ require 'test_helper'
class TicketTest < ActiveSupport::TestCase
setup do
- InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false)
+ InviteCodeValidator.any_instance.stubs(:validate)
end
test "ticket with default attribs is valid" do