aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/test
diff options
context:
space:
mode:
authorAvnerCohen <israbirding@gmail.com>2012-10-13 17:19:03 +0200
committerAvnerCohen <israbirding@gmail.com>2012-10-13 17:19:03 +0200
commita6ddc395b3fbc2b2213a0120612eb46288554aaa (patch)
tree1ffbf1c2eaff481efbe3c6a3425192ebd6ab4d00 /guides/code/getting_started/test
parent3e0be3ab5e8cc5b277e54110610767124e25f611 (diff)
downloadrails-a6ddc395b3fbc2b2213a0120612eb46288554aaa.tar.gz
rails-a6ddc395b3fbc2b2213a0120612eb46288554aaa.tar.bz2
rails-a6ddc395b3fbc2b2213a0120612eb46288554aaa.zip
1.9 hash syntax changes
Diffstat (limited to 'guides/code/getting_started/test')
-rw-r--r--guides/code/getting_started/test/performance/browsing_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/code/getting_started/test/performance/browsing_test.rb b/guides/code/getting_started/test/performance/browsing_test.rb
index 2a849b7f2b..9342a57b20 100644
--- a/guides/code/getting_started/test/performance/browsing_test.rb
+++ b/guides/code/getting_started/test/performance/browsing_test.rb
@@ -3,8 +3,8 @@ require 'rails/performance_test_help'
class BrowsingTest < ActionDispatch::PerformanceTest
# Refer to the documentation for all available options
- # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory],
- # :output => 'tmp/performance', :formats => [:flat] }
+ # self.profile_options = { runs: 5, metrics: [:wall_time, :memory],
+ # output: 'tmp/performance', formats: [:flat] }
def test_homepage
get '/'