spec/disneyland_paris_spec.rb in echelon-0.0.3 vs spec/disneyland_paris_spec.rb in echelon-0.0.4

- old
+ new

@@ -23,12 +23,12 @@ @park.find_by_name("Pirates of the Caribbean").should be_kind_of(Echelon::Ride) @park.find_by_id('P1AA04').should be_kind_of(Echelon::Ride) end it "should return ride object values correctly" do - stealth = @park.find_by_id("P1AA04") - stealth.name.should eql("Pirates of the Caribbean") - stealth.queue_time.should satisfy { |v| v >= 0 && v < 500 } - stealth.active.should satisfy { |v| v >= -1 && v < 3 } + ride = @park.find_by_id("P1AA04") + ride.name.should eql("Pirates of the Caribbean") + ride.queue_time.should satisfy { |v| v >= 0 && v < 500 } + ride.active.should satisfy { |v| v >= -1 && v < 3 } end end \ No newline at end of file