aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-16 20:45:32 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-17 16:08:34 -0500
commit9d39f81d512e0d16a27e2e864ea2dd0e8dc41b17 (patch)
treedb3eb420225654d0dbe6d02148164fc5b9bf3059 /railties/test/generators
parent1a6a3e06ed7242d9a4ed66e9c3d77035bf1362a1 (diff)
downloadrails-9d39f81d512e0d16a27e2e864ea2dd0e8dc41b17.tar.gz
rails-9d39f81d512e0d16a27e2e864ea2dd0e8dc41b17.tar.bz2
rails-9d39f81d512e0d16a27e2e864ea2dd0e8dc41b17.zip
Remove deprecated `capify!`
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/actions_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb
index af475400a1..4932100ea2 100644
--- a/railties/test/generators/actions_test.rb
+++ b/railties/test/generators/actions_test.rb
@@ -412,15 +412,6 @@ class ActionsTest < Rails::Generators::TestCase
end
end
- def test_capify_should_run_the_capify_command
- content = capture(:stderr) do
- assert_called_with(generator, :run, ["capify .", verbose: false]) do
- action :capify!
- end
- end
- assert_match(/DEPRECATION WARNING: `capify!` is deprecated/, content)
- end
-
def test_route_should_add_data_to_the_routes_block_in_config_routes
run_generator
route_command = "route '/login', controller: 'sessions', action: 'new'"