/atm

A bank ATM written using TDD and Ruby!

Primary LanguageRuby

Bank ATM

Summary

This is a simple bank 'ATM' application.

Setup

Ensure you have installed Ruby, Rubygems (a package manager framework for Ruby) and Bundler (a Ruby gem management gem).

Run the test suite

  1. Fork this repo (for instructions, see here)

  2. Navigate to the repo directory in your terminal (check out these links for mac, windows or linux for instructions)

  3. Install gems: bundle install

  4. Run tests: rspec spec

User stories

  • User can make deposits and withdrawals.
  • User should not be able to withdraw more money than they have in their account.
  • User can print their account statement which should show date, amount withdrawn/deposited and balance.
  • The account statement should be printed in descending order (latest date first).
  • User can print their account statements for a specific month.