Created
July 5, 2012 12:51
-
-
Save rubystar/3053514 to your computer and use it in GitHub Desktop.
rails upgrade to 3.2.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) MetaDelivery Generate child deliveries based on the values used for the MetaDelivery (when everything calculates evenly) should regenerate deliveries when updating a record (covers several situations - single day => single day => multiple days => single day) | |
Failure/Error: @meta_delivery.deliveries.collect{|d| d.delivered_at.to_date}.should == [Date.today] | |
expected: [Fri, 15 Oct 2010] | |
got: [Thu, 14 Oct 2010] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[Fri, 15 Oct 2010] | |
+[Thu, 14 Oct 2010] | |
# ./spec/integration/meta_delivery_spec.rb:197:in `block (3 levels) in <top (required)>' | |
2) MetaDelivery Generate child deliveries based on the values used for the MetaDelivery (when everything does not calculate evenly and we're using a unit like cpm) should build deliveries when creating a record (single day + using a unit with a non-one multiple) | |
Failure/Error: @meta_delivery.deliveries.collect{|d| d.delivered_at.to_date}.should == [start_date] | |
expected: [Fri, 01 Oct 2010] | |
got: [Thu, 30 Sep 2010] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[Fri, 01 Oct 2010] | |
+[Thu, 30 Sep 2010] | |
# ./spec/integration/meta_delivery_spec.rb:444:in `block (3 levels) in <top (required)>' | |
3) 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)>' | |
4) 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)>' | |
5) 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)>' | |
6) 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)>' | |
7) Campaign ad generation should expand the order's start and end dates based on the ads | |
Failure/Error: order.start_date.to_date.should == Date.today+2 | |
expected: Sat, 07 Jul 2012 | |
got: Fri, 06 Jul 2012 (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-Sat, 07 Jul 2012 | |
+Fri, 06 Jul 2012 | |
# ./spec/integration/campaign_spec.rb:433:in `block (3 levels) in <top (required)>' | |
8) CreativesController update action when model is valid should redirect to show | |
Failure/Error: response.should redirect_to(advertiser_creative_url(@advertiser, @creative)) | |
Expected response to be a redirect to <http://test.host/advertisers/1/creatives/153> but was a redirect to <http://test.host/advertisers/1/orders/1/creatives/153>. | |
# ./spec/controllers/advertiser_order_ad_creatives_controller_spec.rb:39:in `block (4 levels) in <top (required)>' | |
9) ReceivablesController show action should render show template | |
Failure/Error: get :show, :advertiser_id => @advertiser, :id => @receivable | |
ActionView::Template::Error: | |
undefined method `sortable_element_js' for #<#<Class:0x0000001e6424e0>:0x0000001e4be448> | |
# ./app/views/receivables/show.html.erb:85:in `block in _app_views_receivables_show_html_erb___1200164581664119788_253306580' | |
# ./app/views/receivables/show.html.erb:7:in `_app_views_receivables_show_html_erb___1200164581664119788_253306580' | |
# ./app/controllers/receivables_controller.rb:30:in `show' | |
# ./app/controllers/application_controller.rb:156:in `set_logger_username' | |
# ./app/controllers/application_controller.rb:123:in `catch_record_not_found' | |
# ./spec/controllers/advertiser_receivables_controller_spec.rb:21:in `block (2 levels) in <top (required)>' | |
10) UsersController ensure proper data on 'print' should only include specified users | |
Failure/Error: get :index, :format => "pdf" | |
ActionView::Template::Error: | |
undefined method `read_inheritable_attribute' for UsersController:Class | |
# ./app/views/users/index.pdf.prawn:1:in `_app_views_users_index_pdf_prawn___4298487686709014503_246271640' | |
# ./app/controllers/users_controller.rb:25:in `block (2 levels) in index' | |
# ./app/controllers/users_controller.rb:21:in `index' | |
# ./app/controllers/application_controller.rb:156:in `set_logger_username' | |
# ./app/controllers/application_controller.rb:123:in `catch_record_not_found' | |
# ./spec/controllers/users_controller_spec.rb:48:in `block (3 levels) in <top (required)>' | |
11) CreativesController update action when model is valid should redirect to show | |
Failure/Error: response.should redirect_to(advertiser_creative_url(@advertiser, @creative)) | |
Expected response to be a redirect to <http://test.host/advertisers/1/creatives/163> but was a redirect to <http://test.host/advertisers/1/orders/1/creatives/163>. | |
# ./spec/controllers/advertiser_order_creatives_controller_spec.rb:39:in `block (4 levels) in <top (required)>' | |
12) PayablesController show action should render show template | |
Failure/Error: get :show, :publisher_id => @publisher, :id => @payable | |
ActionView::Template::Error: | |
undefined method `sortable_element' for #<#<Class:0x00000020459eb0>:0x00000020bfc7d0> | |
# ./app/views/payables/show.html.erb:82:in `block in _app_views_payables_show_html_erb___425679636904310541_274715640' | |
# ./app/views/payables/show.html.erb:5:in `_app_views_payables_show_html_erb___425679636904310541_274715640' | |
# ./app/controllers/payables_controller.rb:31:in `show' | |
# ./app/controllers/application_controller.rb:156:in `set_logger_username' | |
# ./app/controllers/application_controller.rb:123:in `catch_record_not_found' | |
# ./spec/controllers/payables_controller_spec.rb:33:in `block (2 levels) in <top (required)>' | |
13) 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:0x00000021018648> | |
# ./spec/controllers/delivery_reports_controller_spec.rb:48:in `block (3 levels) in <top (required)>' | |
14) DeliveryReportsController show action should render show template | |
Failure/Error: get :show, :id => @delivery_report | |
ActionView::Template::Error: | |
Mysql2::Error: MySQL server has gone away: SELECT `users`.* FROM `users` INNER JOIN `user_accessibles` ON `users`.`id` = `user_accessibles`.`user_id` WHERE `user_accessibles`.`accessible_id` = 76 AND `user_accessibles`.`accessible_type` = 'DeliveryReport' | |
# ./app/views/layouts/_users.html.haml:6:in `_app_views_layouts__users_html_haml__3473527290960938727_222357260' | |
# ./app/helpers/layout_helper.rb:152:in `block in users_for' | |
# ./app/helpers/layout_helper.rb:132:in `block in drawer' | |
# ./app/helpers/layout_helper.rb:132:in `drawer' | |
# ./app/helpers/layout_helper.rb:151:in `users_for' | |
# ./app/views/delivery_reports/_context.html.erb:6:in `_app_views_delivery_reports__context_html_erb__3515870974762193203_276722620' | |
# ./app/helpers/layout_helper.rb:167:in `context' | |
# ./app/views/delivery_reports/show.html.haml:1:in `_app_views_delivery_reports_show_html_haml___3880204435120508149_275961400' | |
# ./app/controllers/delivery_reports_controller.rb:61:in `block (2 levels) in show' | |
# ./app/controllers/delivery_reports_controller.rb:51:in `show' | |
# ./app/controllers/application_controller.rb:156:in `set_logger_username' | |
# ./app/controllers/application_controller.rb:123:in `catch_record_not_found' | |
# ./spec/controllers/delivery_reports_controller_spec.rb:93:in `block (3 levels) in <top (required)>' | |
15) DeliveryReportsController update action when model is valid should render the show template without saving on 'Preview' | |
Failure/Error: put :update, :id => @delivery_report, :commit => 'Preview' | |
ActionView::Template::Error: | |
Mysql2::Error: MySQL server has gone away: SELECT COUNT(*) FROM `products` | |
# ./app/helpers/delivery_reports_helper.rb:6:in `block in can_filter_by_any?' | |
# ./app/helpers/delivery_reports_helper.rb:4:in `each' | |
# ./app/helpers/delivery_reports_helper.rb:4:in `any?' | |
# ./app/helpers/delivery_reports_helper.rb:4:in `can_filter_by_any?' | |
# ./app/views/delivery_reports/_filter.html.haml:27:in `_app_views_delivery_reports__filter_html_haml__1108091115179641809_282772680' | |
# ./app/views/delivery_reports/show.html.haml:23:in `block (3 levels) in _app_views_delivery_reports_show_html_haml___3880204435120508149_275961400' | |
# ./app/views/delivery_reports/show.html.haml:21:in `block (2 levels) in _app_views_delivery_reports_show_html_haml___3880204435120508149_275961400' | |
# ./app/views/delivery_reports/show.html.haml:20:in `block in _app_views_delivery_reports_show_html_haml___3880204435120508149_275961400' | |
# ./app/helpers/layout_helper.rb:132:in `block in drawer' | |
# ./app/helpers/layout_helper.rb:132:in `drawer' | |
# ./app/views/delivery_reports/show.html.haml:19:in `_app_views_delivery_reports_show_html_haml___3880204435120508149_275961400' | |
# ./app/controllers/delivery_reports_controller.rb:138:in `update' | |
# ./app/controllers/application_controller.rb:156:in `set_logger_username' | |
# ./app/controllers/application_controller.rb:123:in `catch_record_not_found' | |
# ./spec/controllers/delivery_reports_controller_spec.rb:118:in `block (4 levels) in <top (required)>' | |
16) 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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-05 10:40:44", updated_at: "2012-07-05 10:40:44", 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)>' | |
17) Contact update_primary_contact when kind changed, kind is primary, there is an owner and the owner is not new when there are other contacts set as primary should update contacts that were set as primary | |
Failure/Error: o.should_receive(:contacts).and_return(cons) | |
(Stub :owner).contacts(any args) | |
expected: 1 time | |
received: 3 times | |
# ./spec/models/contact_spec.rb:23:in `block (5 levels) in <top (required)>' | |
18) Contact update_primary_contact when kind changed, kind is primary, there is an owner and the owner is not new when there are no other contacts set as primary should not update contacts | |
Failure/Error: o.should_receive(:contacts).and_return(cons) | |
(Stub :owner).contacts(any args) | |
expected: 1 time | |
received: 3 times | |
# ./spec/models/contact_spec.rb:43:in `block (5 levels) in <top (required)>' | |
19) Ad dates start_date=(sd) when sd is today should set start_date appropriately | |
Failure/Error: @ad.start_date.to_s.should == DateTime.parse("Wed, 15 Sep 2010 13:15:00 -0500").in_time_zone.to_s | |
expected: "2010-09-15 13:15:00 -0500" | |
got: "2010-09-15 02:45:00 -0500" (using ==) | |
# ./spec/models/ad_spec.rb:308:in `block (5 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment