aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/initializers/frameworks_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/initializers/frameworks_test.rb b/railties/test/application/initializers/frameworks_test.rb
index 709286d728..af98e08d0e 100644
--- a/railties/test/application/initializers/frameworks_test.rb
+++ b/railties/test/application/initializers/frameworks_test.rb
@@ -140,7 +140,7 @@ module ApplicationTests
app_file "app/controllers/omg_controller.rb", <<-RUBY
class OmgController < ApplicationController
def show
- render :json => { :omg => 'omg' }
+ render json: { omg: 'omg' }
end
end
RUBY