Created
June 22, 2012 11:55
-
-
Save rubystar/2972309 to your computer and use it in GitHub Desktop.
final specs status with 1.9.3
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
Resolved collector.newrelic.com to 204.93.223.153 | |
...........................................................F......................................FF..*.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F..F.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F....................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................left 2011-12-16 | |
righ 2011-12-16 | |
............................................................................................................................................................................................................................................................................................................................................... | |
Pending: | |
MetaDelivery Generate child deliveries based on the values used for the MetaDelivery (when the daily quantity is less than one - aka: total quantity is less than the number of days in the date range) should build deliveries when creating a record (spanning multiple days) | |
# expected: "Raw Acquisitions,Revenue,Cost,Overhead\n1,\"$10,000.00\",\"$1,000.00\",$100.00\n1,\"$10,000.00\",\"$1,000.00\",$100.00\n", | |
got: "Raw Acquisitions,Revenue,Cost,Overhead\n0,\"$10,000.00\",\"$1,000.00\",$100.00\n0,\"$10,000.00\",\"$1,000.00\",$100.00\n" (using ==) | |
# ./spec/integration/meta_delivery_spec.rb:650 | |
Failures: | |
1) 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: Sun, 24 Jun 2012 | |
got: Sat, 23 Jun 2012 (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-Sun, 24 Jun 2012 | |
+Sat, 23 Jun 2012 | |
# ./spec/integration/campaign_spec.rb:433:in `block (3 levels) in <top (required)>' | |
2) 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)>' | |
3) 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)>' | |
4) 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___3398654050179879503_134874680_2911120890171432712' | |
# ./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___1415224293400783807_131971000__797943655624566137' | |
# ./app/helpers/layout_helper.rb:167:in `context' | |
# ./app/views/delivery_reports/show.html.haml:1:in `_app_views_delivery_reports_show_html_haml___814124473144306585_204649820_1704407716528613732' | |
# ./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)>' | |
5) 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 `publishers` | |
# ./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:29:in `_app_views_delivery_reports__filter_html_haml__2470432424569484469_135262760__2539830530762493719' | |
# ./app/views/delivery_reports/show.html.haml:23:in `block (3 levels) in _app_views_delivery_reports_show_html_haml___814124473144306585_204649820_1704407716528613732' | |
# ./app/views/delivery_reports/show.html.haml:21:in `block (2 levels) in _app_views_delivery_reports_show_html_haml___814124473144306585_204649820_1704407716528613732' | |
# ./app/views/delivery_reports/show.html.haml:20:in `block in _app_views_delivery_reports_show_html_haml___814124473144306585_204649820_1704407716528613732' | |
# ./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___814124473144306585_204649820_1704407716528613732' | |
# ./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)>' | |
6) User unlock should return proper values | |
Failure/Error: @user.lock_expires_at.should < DateTime.now | |
expected: < Fri, 22 Jun 2012 13:00:00 +0530 | |
got: Fri, 22 Jun 2012 02:30:00 CDT -05:00 | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-Fri, 22 Jun 2012 13:00:00 +0530 | |
+Fri, 22 Jun 2012 02:30:00 CDT -05:00 | |
# ./spec/models/user_spec.rb:246:in `block (3 levels) in <top (required)>' | |
7) 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)>' | |
Finished in 1138.09 seconds | |
2199 examples, 7 failures, 1 pending | |
Failed examples: | |
rspec ./spec/integration/campaign_spec.rb:420 # Campaign ad generation should expand the order's start and end dates based on the ads | |
rspec ./spec/integration/meta_delivery_spec.rb:172 # 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) | |
rspec ./spec/integration/meta_delivery_spec.rb:414 # 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) | |
rspec ./spec/controllers/delivery_reports_controller_spec.rb:92 # DeliveryReportsController show action should render show template | |
rspec ./spec/controllers/delivery_reports_controller_spec.rb:116 # DeliveryReportsController update action when model is valid should render the show template without saving on 'Preview' | |
rspec ./spec/models/user_spec.rb:241 # User unlock should return proper values | |
rspec ./spec/models/ad_spec.rb:306 # Ad dates start_date=(sd) when sd is today should set start_date appropriately | |
Coverage report generated for RSpec to /home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/coverage. 10582 / 14684 LOC (72.06%) covered. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment