Basic setup - adding gems, guard, rspec
Basic setup - adding gems, guard, rspec
Add application configuration file

- Add to spec_helper
- Reduce complexity
Add application configuration file

- Add to spec_helper
- Reduce complexity
Add feature helper

- Using Capybara to do the front-end testing
- Capybara refers to these tests as ‘features’
Add feature helper

- Using Capybara to do the front-end testing
- Capybara refers to these tests as ‘features’
First feature - Main (index) page

- Display the application description on index page
First feature - Main (index) page

- Display the application description on index page
Run with Rackup
Run with Rackup
Add an image for the application

- set public & static configuration options so the image is rendered by
  modular Sinatra App
Add an image for the application

- set public & static configuration options so the image is rendered by
  modular Sinatra App
Extend Capybara with nice #has_image? method

- credit: http://lostechies.com/derickbailey/2011/09/27/adding-a-has_image-matcher-to-capybara/
- use: have_image(<src>)
Extend Capybara with nice #has_image? method

- credit: http://lostechies.com/derickbailey/2011/09/27/adding-a-has_image-matcher-to-capybara/
- use: have_image(<src>)
Extend #has_image? matcher

- include matching of ‘alt’ when present
- both src & ing must be true to return true
Extend #has_image? matcher

- include matching of ‘alt’ when present
- both src & ing must be true to return true
Update with test details

- use Github Flavoured Markdown
- leave out contact details *
- what employer is looking for *

* in an attempt at maintaining anonymity
Update with test details

- use Github Flavoured Markdown
- leave out contact details *
- what employer is looking for *

* in an attempt at maintaining anonymity
Add images of relevant coins

- No images for 10 pence or 5 pence coins as not
  part of specification
Add images of relevant coins

- No images for 10 pence or 5 pence coins as not
  part of specification