Hi,
I've been using rspec 2.0.0 beta 8 for a while. All specs pass.
Installed beta 9, and more than half fail. Am I the only one who's
seeing this? Not sure what to do to get it all passing using beta 9..
Cheers,
Lawrence
___
rspec-users mailing li
I now see all the failures are due to all my controller specs always
getting a response.body of type String with the value "RSpec-generated
template" when I use the beta 9 version.
I'm on rails edge.
Any idea where this string might originate from? Can't find it in the
rspec nor in the rail
I now see all the failures are due to all my controller specs always getting a
response.body of type String with the value "RSpec-generated template" when I
use the beta 9 version.
Read the bit about controller specs and rendering views on
http://github.com/rspec/rspec-rails.
Thank
Hi Daniel,
describe "Example", :type => :request do
# curl -k -i -X POST -d '{"api_token":0}'
https://api.example.local/reset_password
# See
https://groups.google.com/d/topic/rubyonrails-security/ZOdH5GH5jCU/discussion
it "should not be exploitable by using an integer token val
So is it not possible to do a controller spec with raw data?
Not that I know of. In the controller the raw data is assumed to have
been parsed already.
You could also simply set the parameter value to an integer in your test
and then call your controller action:
params["token"] =