Skip to content

Commit

Permalink
Remove space in {}
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Sep 4, 2015
1 parent 228cc1c commit 8e8f6ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/generators/scaffold_controller_generator_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
# require 'active_model/serializer/railtie'

class ResourceGeneratorTest < Rails::Generators::TestCase
destination File.expand_path('../../../tmp/generators', __FILE__)
Expand All @@ -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

0 comments on commit 8e8f6ab

Please sign in to comment.