[rspec-users] Rspec - In views

Andrew Premdas apremdas at gmail.com
Wed Oct 28 09:06:56 EDT 2009

2009/10/28 Rails ROR <developrails at gmail.com>

> 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.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

I would suggest buying a copy of the RSpec book (a beta PDF is available at
(http://pragprog.com/). This is by far the best resource for learning how to
test with rspec and cucumber, and also is very up to date.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091028/5a8adad8/attachment-0001.html>

More information about the rspec-users mailing list