This is a refactor challenge for a Movie rental ruby script where a customer can rent one or more of three types of movies and then get billed for the purchase and awarded frequent bonus points
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
interactors
spec
Gemfile
Gemfile.lock
README.md
Rakefile

README.md

Challenge

The challenge is to refactor the code, so it works. This task should not take longer than 2 hours.

  • Step 0: Figure out what the hell this code is about.
  • Step 1: Please write RSpec tests for the existing code.
  • Step 2: Refactor and document the code, so you would be proud of it.
  • Step 3: Submit it to us.