[rspec-users] Rspec - In views

Rails ROR developrails at gmail.com
Wed Oct 28 01:29:10 EDT 2009


Hi All,

I want to test my application with rspec.

In order to test my views, I have written few specs as given in the
examples.

Is there any way to test the user acceptance?

i.e suppose the field takes a string.

I want to test it for integers, float values, alphanumeric values, etc and
run tests against that.

I need to get the tests failed as it takes only string.

I would be really thankful if someone can guide me on this.

Please help me with a simple example so that I can understand it quickly and
move ahead.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091027/c8b86811/attachment.html>


More information about the rspec-users mailing list