RSpec is a behaviour-driven development (BDD) framework for the Ruby language.
2
votes
1answer
37 views
Unit-testing account transaction code
I'm playing with unit-testing in Ruby. There is a situation that I don't know if is good enough or if I am doing the wrong abstraction.
I have two classes: ...
0
votes
0answers
12 views
0
votes
0answers
36 views
Creating a spec for confirming user accounts
I've created a spec that how a user confirms his account. It tests the following scenarios:
While this code is completely untested (wrote it all in the browser) I don't see why it wouldn't work. ...