spec/thorpe_park_spec.rb in echelon-0.0.3 vs spec/thorpe_park_spec.rb in echelon-0.0.4
- old
+ new
@@ -23,12 +23,12 @@
@park.find_by_name("Stealth").should be_kind_of(Echelon::Ride)
@park.find_by_id(3).should be_kind_of(Echelon::Ride)
end
it "should return ride object values correctly" do
- stealth = @park.find_by_id(3)
- stealth.name.should eql("Stealth")
- stealth.queue_time.should satisfy { |v| v >= 0 && v < 1000 }
- stealth.active.should satisfy { |v| v == 0 || v == 1 }
+ ride = @park.find_by_id(3)
+ ride.name.should eql("Stealth")
+ ride.queue_time.should satisfy { |v| v >= 0 && v < 1000 }
+ ride.active.should satisfy { |v| v == 0 || v == 1 }
end
end
\ No newline at end of file