diff options
Diffstat (limited to 'actionview/test')
| -rw-r--r-- | actionview/test/lib/controller/fake_models.rb | 1 | ||||
| -rw-r--r-- | actionview/test/template/url_helper_test.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/actionview/test/lib/controller/fake_models.rb b/actionview/test/lib/controller/fake_models.rb index a3e7e4d980..a122fe17c9 100644 --- a/actionview/test/lib/controller/fake_models.rb +++ b/actionview/test/lib/controller/fake_models.rb @@ -38,6 +38,7 @@ class TicketType < Struct.new(:name) def initialize(*args) super + @persisted = false end def persisted=(boolean) diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb index 784a48ed8d..89cabb8f6b 100644 --- a/actionview/test/template/url_helper_test.rb +++ b/actionview/test/template/url_helper_test.rb @@ -582,7 +582,7 @@ class UrlHelperTest < ActiveSupport::TestCase self.request_forgery end - def form_authenticity_token + def form_authenticity_token(*args) "secret" end |
