ga-wdi-boston / ruby-fibonacci-challenge

Other
2 stars 147 forks source link

Conflict in challenge_spec.rb #2

Closed MFBrewster closed 8 years ago

MFBrewster commented 8 years ago

in ./spec/challenge_spec.rb

lines 3-4 say:

describe 'FibonacciRange' do 
subject(:fibonacci_range) { FibonacciRange.new(10) }

While the spec for the correct array asks for: [0, 1, 1, 2, 3, 5, 8]

... which is the array for a stop value of '7', not '10'. I changed the stop value in line 4 to '7', and the spec worked fine.

Thank you!

jrhorn424 commented 8 years ago

This is working as intended. Thanks @MFBrewster!