Cart checkout domain is modelled by domain driven design approach. A set of small and decoupled classes is introduced that follow single responsibily principle.
Running acceptance specs is simple:
$ rspec spec/checkout_acceptance_spec.rb
If you wish to expirement in irb, make sure you add lib to load path:
$ irb -Ilib
> require 'checkout'
Dependencies:
- Ruby 2.0.0 or newer
There are no other dependencies for runtime environment.
For development/test environment run bundler:
$ bundle
# run all specs
$ rspec