2009/10/28 Rails ROR <[email protected]> > 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 > [email protected] > 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. Andrew
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
