First class (Rspec and Cucumber)
We use Cucumber to describe the behavior of applications and use
RSpec to describe the behavior of objects.
Open a shell, and type the following
(you may need to prefix this with sudo on some systems):
gem install rspec –version 2.0.0
Now type rspec –help, and you should see output that starts like this:
Usage: rspec [options] [files or directories]
If you don’t see that, or something close, then the installation failed for
any number of reasons. If that happened, we recommend you email the
rspec-users mailing list.
install Cucumber by typing this:
gem install cucumber –version 0.9.2