Skip to content

robj/jobready_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JobReady Sales Taxes Test

Usage

Ensure the Virtus Gem is installed (https://github.com/solnic/virtus)

$ gem install virtus

Print Receipt (Input: CSV file, Output: STDOUT)

$ ./register.rb test_input.csv

Testing

Run Specs

$ rspec

Notes

  • Virtus used to add ActiveModel like functionality to POROs. (Initialization from hash, Type coercion)
  • Due to time constraints, spec coverage is limited - Please see http://robj.github.io for a better example of TDD

About

jobready_test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages