summaryrefslogtreecommitdiff
path: root/test/performance/browsing_test.rb
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-03-27 13:33:34 -0400
committerJules Laplace <jules@okfoc.us>2015-03-27 13:33:34 -0400
commitf090feb8d4cacce9a1e8ffcda6cb542917c7e1e1 (patch)
tree0b4e9df9a05d7adac4abe162d9692b6047d685b1 /test/performance/browsing_test.rb
railzZz
Diffstat (limited to 'test/performance/browsing_test.rb')
-rw-r--r--test/performance/browsing_test.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/performance/browsing_test.rb b/test/performance/browsing_test.rb
new file mode 100644
index 0000000..3fea27b
--- /dev/null
+++ b/test/performance/browsing_test.rb
@@ -0,0 +1,12 @@
+require 'test_helper'
+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] }
+
+ def test_homepage
+ get '/'
+ end
+end