diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-06 18:39:10 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-06 18:44:18 +0200 |
commit | 9c2c25c1a1343937e96eed81e38ef4f9fb06ce11 (patch) | |
tree | 270fa93813a380761257e33a36f6069058b03e51 /actionpack/test | |
parent | 6acb858d06fa0873135eea0957a4aa5ea2fd0d2b (diff) | |
download | rails-9c2c25c1a1343937e96eed81e38ef4f9fb06ce11.tar.gz rails-9c2c25c1a1343937e96eed81e38ef4f9fb06ce11.tar.bz2 rails-9c2c25c1a1343937e96eed81e38ef4f9fb06ce11.zip |
Revert to old semantics, use available_action? instead of action_method?.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/new_base/render_implicit_action_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/new_base/render_implicit_action_test.rb b/actionpack/test/controller/new_base/render_implicit_action_test.rb index 3bb3016fdb..1e2191d417 100644 --- a/actionpack/test/controller/new_base/render_implicit_action_test.rb +++ b/actionpack/test/controller/new_base/render_implicit_action_test.rb @@ -33,10 +33,10 @@ module RenderImplicitAction assert_status 200 end - test "action_method? returns true for implicit actions" do - assert SimpleController.new.action_method?(:hello_world) - assert SimpleController.new.action_method?(:"hyphen-ated") - assert SimpleController.new.action_method?(:not_implemented) + test "available_action? returns true for implicit actions" do + assert SimpleController.new.available_action?(:hello_world) + assert SimpleController.new.available_action?(:"hyphen-ated") + assert SimpleController.new.available_action?(:not_implemented) end end end |