Skip to content

beersheep/junior_interview_question

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

This is an interview question for junior ruby developer @ Fandnext.

Steps

  1. Clone this project to your local environment
  2. Run bundle install in the project folder and make sure all the dependencies have been installed successfully.
  3. Run ruby test/price_calculation_test.rb to see if you can run the test. You should see 6 failed test cases.
  4. Take a look at models/order.rb, models/campaign.rb and test/price_calculation_test.rb, and do your best to implement methods in price_calculation.rb; please do not modify files other than price_calculation.rb
  5. The project is considered accomplished if all test cases pass.

About

An interview question for junior developer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages