I've changed the 'should' phrases to "expect", and added tests for each class. Still working on better test coverage, though. Learning Rspec.
Is there a way to have the test run an action several times and test each one? For example, "run this context 100 times and ensure every time the random number is within bounds". That would let you test random things lots of times in the same test run, to see if your counting or whatever is off. -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/7126eb36-1e7e-4840-a56f-a70c688b6e4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
