diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-26 16:52:20 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-26 16:52:20 -0600 |
| commit | fab3dae0b354c4c4c292f300ac9bc6bf703d031c (patch) | |
| tree | f24516b71134e5a2c2ccf98d1d0aba2f4fcf925a /lib/customer.rb | |
| parent | 7245619df4350c63d5d858c23efbe1057933a2e4 (diff) | |
add integration tests.
Diffstat (limited to 'lib/customer.rb')
| -rw-r--r-- | lib/customer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/customer.rb b/lib/customer.rb index c2ce3b0..4515e76 100644 --- a/lib/customer.rb +++ b/lib/customer.rb @@ -31,7 +31,7 @@ class Customer # add frequent renter points frequent_renter_points += 1 # add bonus for a two day new release rental - if element.movie.price_code == Movie.NEW_RELEASE && element.days_rented > 1 + if element.movie.price_code == Movie::NEW_RELEASE && element.days_rented > 1 frequent_renter_points += 1 end # show figures for this rental |
