aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/url_generation_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2012-10-15 10:20:50 -0500
committerJoshua Peek <josh@joshpeek.com>2012-10-15 10:20:50 -0500
commitc800e27ad35ec46f32b5ac4428e5cf7141f95105 (patch)
tree0821e0afaba2a74dec6ea1397ee3cabfd3d10c59 /railties/test/application/url_generation_test.rb
parent7dba1599d9092a8362956a3fab23b2c60eedea63 (diff)
parent46dc6e7786222865309d15a9eaaaf55e3b7d9c1f (diff)
downloadrails-c800e27ad35ec46f32b5ac4428e5cf7141f95105.tar.gz
rails-c800e27ad35ec46f32b5ac4428e5cf7141f95105.tar.bz2
rails-c800e27ad35ec46f32b5ac4428e5cf7141f95105.zip
Merge branch 'master' into asset-path-helper
Conflicts: railties/test/application/configuration_test.rb
Diffstat (limited to 'railties/test/application/url_generation_test.rb')
-rw-r--r--railties/test/application/url_generation_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/url_generation_test.rb b/railties/test/application/url_generation_test.rb
index f7e60749a7..4ecb94b65e 100644
--- a/railties/test/application/url_generation_test.rb
+++ b/railties/test/application/url_generation_test.rb
@@ -15,7 +15,7 @@ module ApplicationTests
class MyApp < Rails::Application
config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"
- config.session_store :cookie_store, :key => "_myapp_session"
+ config.session_store :cookie_store, key: "_myapp_session"
config.active_support.deprecation = :log
end
@@ -26,12 +26,12 @@ module ApplicationTests
class ::OmgController < ::ApplicationController
def index
- render :text => omg_path
+ render text: omg_path
end
end
MyApp.routes.draw do
- get "/" => "omg#index", :as => :omg
+ get "/" => "omg#index", as: :omg
end
require 'rack/test'