spec/spacex/launches_spec.rb in spacex-0.0.6 vs spec/spacex/launches_spec.rb in spacex-0.0.7

- old
+ new

@@ -41,10 +41,10 @@ expect(subject.rocket.second_stage.payloads.first.payload_mass_lbs).to eq 12_786.81 expect(subject.rocket.second_stage.payloads.first.orbit).to eq 'GTO' expect(subject.rocket.second_stage.payloads.first.orbit_params.reference_system).to eq 'geocentric' expect(subject.rocket.second_stage.payloads.first.orbit_params.regime).to eq 'geostationary' - expect(subject.rocket.second_stage.payloads.first.orbit_params.longitude).to eq -108 + expect(subject.rocket.second_stage.payloads.first.orbit_params.longitude).to eq '-108'.to_i expect(subject.rocket.second_stage.payloads.first.orbit_params.semi_major_axis_km).to eq 21_226.178 expect(subject.rocket.second_stage.payloads.first.orbit_params.eccentricity).to eq 0.6904141 expect(subject.rocket.second_stage.payloads.first.orbit_params.periapsis_km).to eq 193.19 expect(subject.rocket.second_stage.payloads.first.orbit_params.apoapsis_km).to eq 29_502.896 expect(subject.rocket.second_stage.payloads.first.orbit_params.inclination_deg).to eq 27.0648