Hi guys,

Is there a way to define a default parameter for all requests made in a spec?

I have a spec where I want all requests to be made with the "js"
format but I find it rather annoying to type a ":format => 'js'" on
every get/post/put/delete. Is there any other way to do this?

-
Maurício Linhares
http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to