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