Skip to content

Instantly share code, notes, and snippets.

@rubystar
Created July 9, 2012 13:22
Show Gist options
  • Save rubystar/3076541 to your computer and use it in GitHub Desktop.
Save rubystar/3076541 to your computer and use it in GitHub Desktop.
rails upgrade to 3.2.6
Failures:
1) Campaign test for uniquiness should return one order when there are duplicates
Failure/Error: @campaign1 = Factory.create(:campaign,
ActiveRecord::RecordInvalid:
Validation failed: Start date must be on or before all start dates for ads, budget allocations and site allocations for this campaign (2012-07-01)
# ./spec/integration/campaign_spec.rb:51:in `block (3 levels) in <top (required)>'
2) Campaign test for uniquiness should return one zone when there are duplicates
Failure/Error: @campaign1 = Factory.create(:campaign,
ActiveRecord::RecordInvalid:
Validation failed: Start date must be on or before all start dates for ads, budget allocations and site allocations for this campaign (2012-07-01)
# ./spec/integration/campaign_spec.rb:73:in `block (3 levels) in <top (required)>'
3) Campaign test for uniquiness should return one site when there are duplicates
Failure/Error: @campaign1 = Factory.create(:campaign,
ActiveRecord::RecordInvalid:
Validation failed: Start date must be on or before all start dates for ads, budget allocations and site allocations for this campaign (2012-07-01)
# ./spec/integration/campaign_spec.rb:95:in `block (3 levels) in <top (required)>'
4) Campaign test for uniquiness should return one publisher when there are duplicates
Failure/Error: @campaign1 = Factory.create(:campaign,
ActiveRecord::RecordInvalid:
Validation failed: Start date must be on or before all start dates for ads, budget allocations and site allocations for this campaign (2012-07-01)
# ./spec/integration/campaign_spec.rb:116:in `block (3 levels) in <top (required)>'
5) DeliveryReportsController new action should create a new, empty delivery filter when one does not exist for the delivery_report_template
Failure/Error: @delivery_report_template[:delivery_filter].should be_nil
expected: nil
got: #<DeliveryFilter:0x0000001cd43598>
# ./spec/controllers/delivery_reports_controller_spec.rb:48:in `block (3 levels) in <top (required)>'
6) BudgetAllocation ads(options={}) should be written
Failure/Error: @ba.ads.should == []
expected: []
got: [#<DartAd id: 5, name: "Ad 4", ad_type: "Standard", created_at: "2012-07-09 12:23:28", updated_at: "2012-07-09 12:23:28", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 5, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 1, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>, #<DartAd id: 6, name: "Ad 5", ad_type: "Standard", created_at: "2012-07-09 12:23:29", updated_at: "2012-07-09 12:23:29", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 6, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 2, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>, #<DartAd id: 7, name: "Ad 6", ad_type: "Standard", created_at: "2012-07-09 12:23:29", updated_at: "2012-07-09 12:23:29", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 7, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 2, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>] (using ==)
Diff:
@@ -1,2 +1,2 @@
-[]
+[#<DartAd id: 5, name: "Ad 4", ad_type: "Standard", created_at: "2012-07-09 12:23:28", updated_at: "2012-07-09 12:23:28", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 5, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 1, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>, #<DartAd id: 6, name: "Ad 5", ad_type: "Standard", created_at: "2012-07-09 12:23:29", updated_at: "2012-07-09 12:23:29", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 6, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 2, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>, #<DartAd id: 7, name: "Ad 6", ad_type: "Standard", created_at: "2012-07-09 12:23:29", updated_at: "2012-07-09 12:23:29", indicator: nil, source_type: 0, daily_impression_cap: nil, daily_click_cap: nil, order_id: 7, reference_number: nil, quantity: nil, start_date: "2012-07-01 05:00:00", end_date: "2012-08-01 04:59:59", campaign_id: nil, default_zone_name: "zone1", ad_size: "300x250", product_id: 87, custom_dimension_1: nil, custom_dimension_2: nil, custom_dimension_3: nil, geo_target_id: 2, targeted: nil, active: nil, rate: 1.0, rate_type: "CPM", default: false, cpm_serving_fee_rate: nil, type: "DartAd", overall_cap: nil, daily_cap: nil, ideal_impressions_per_hour: nil, frequency_cap: nil, day_partitions: nil, url: nil, video_flv: nil, video_clickthru_url: nil, video_companion_html: nil, timezone: nil, video_facebook_url: nil, video_twitter_url: nil, video_youtube_url: nil, response_type: nil, video_file_name: nil, video_content_type: nil, video_file_size: nil, video_updated_at: nil, frequency_cap_window: nil, vast_url: nil, acudeo_program_id: nil, geo_target_group_id: nil>]
# ./spec/models/budget_allocation_spec.rb:394:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment