From 8e8f6aba7e650aadecfacca79e54221c53080e43 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Thu, 3 Sep 2015 20:55:40 -0500 Subject: [PATCH] Remove space in {} --- test/generators/scaffold_controller_generator_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/generators/scaffold_controller_generator_test.rb b/test/generators/scaffold_controller_generator_test.rb index f3029e218..aabe6122f 100644 --- a/test/generators/scaffold_controller_generator_test.rb +++ b/test/generators/scaffold_controller_generator_test.rb @@ -1,5 +1,4 @@ require 'test_helper' -# require 'active_model/serializer/railtie' class ResourceGeneratorTest < Rails::Generators::TestCase destination File.expand_path('../../../tmp/generators', __FILE__) @@ -19,6 +18,6 @@ def test_serializer_file_is_generated def copy_routes config_dir = File.join(destination_root, 'config') FileUtils.mkdir_p(config_dir) - File.write(File.join(config_dir, 'routes.rb'), 'Rails.application.routes.draw { }') + File.write(File.join(config_dir, 'routes.rb'), 'Rails.application.routes.draw {}') end end