spec/tests/local.rb in bigbench-0.0.4 vs spec/tests/local.rb in bigbench-0.0.5
- old
+ new
@@ -1,9 +1,9 @@
-BigBench.configure = {
- :duration => 1.seconds,
- :output => "spec/tmp/local.ljson",
- :users => 1
-}
+BigBench.configure do |config|
+ config.duration = 1.second
+ config.output = "tmp/local.ljson"
+ config.users = 1
+end
benchmark "index page" => "http://localhost:3001" do
get "/"
get "/index"
end
\ No newline at end of file