Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Installation Instructions: - git clone git@github.com:eugenekorpan/estore.git - cp config/database.yml.sample config/database.yml (and update it with your mysql cridentials) - bundle install - rake db:reload After these steps you should have app up and running with some seed data (http://localhost:3000) Test Coverage Prepare test database - rake db:test:clone Run specs - rake rcov:rspec After that you should have `coverage` folder in the rails root directory. Find and open `coverage/index.html`. After seeding the db it has some new products, you can use them to test rake task which updates user's showroom. Generally that rake task should be executed by cron job but for test purpose you can run - rake showrooms:update After this users's showroom should be updated