aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/initializers
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2015-04-22 15:57:35 -0400
committerSantiago Pastorino <santiago@wyeworks.com>2015-06-11 16:54:13 -0300
commit440b334cbb0b803994967972547239d73dba1fce (patch)
tree14b3a7e5a2346c1229088a29bc85eb93255cf34c /railties/test/application/initializers
parentb643d7a7c6584a07624d2169a6cb54b38d345958 (diff)
downloadrails-440b334cbb0b803994967972547239d73dba1fce.tar.gz
rails-440b334cbb0b803994967972547239d73dba1fce.tar.bz2
rails-440b334cbb0b803994967972547239d73dba1fce.zip
Use new hash syntax
Diffstat (limited to 'railties/test/application/initializers')
-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