Skip to content
Browse files

fixing broken test

  • Loading branch information...
1 parent 7a8dc0b commit aab297f560197e1b6ca32bd22db134318b75a322 @averyj averyj committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Ruby/test/flight_api_spec.rb
View
2 Ruby/test/flight_api_spec.rb
@@ -109,7 +109,7 @@
it "should list a specific flight" do
response = @@flight.get($flight_id)
- response.body.should == '{"Id":' + $flight_id + ',"StartDate":"\\/Date(1293840000000+0000)\\/","EndDate":"\\/Date(1325289600000+0000)\\/","Price":15.00,"OptionType":1,"Impressions":10000,"IsUnlimited":false,"IsNoDuplicates":false,"IsFullSpeed":false,"Keywords":"test, test2","Name":"' + $flight_Name + '","CampaignId":' + $campaignId.to_s + ',"PriorityId":' + $priority_id + ',"IsDeleted":false,"IsActive":true,"GeoTargeting":[],"FreqCap":0,"FreqCapDuration":0,"FreqCapType":0}'
+ response.body.should == '{"Id":' + $flight_id + ',"StartDate":"\\/Date(1293840000000+0000)\\/","EndDate":"\\/Date(1325289600000+0000)\\/","Price":15.00,"OptionType":1,"Impressions":10000,"IsUnlimited":false,"IsNoDuplicates":false,"IsFullSpeed":false,"Keywords":"test, test2","Name":"' + $flight_Name + '","CampaignId":' + $campaignId.to_s + ',"PriorityId":' + $priority_id + ',"IsDeleted":false,"IsActive":true,"GeoTargeting":[],"FreqCap":0,"FreqCapDuration":0,"FreqCapType":0,"CreativeMaps":[]}'
end
it "should update a flight" do

0 comments on commit aab297f

Please sign in to comment.
Something went wrong with that request. Please try again.