Skip to content

Instantly share code, notes, and snippets.

@rubystar
Created May 30, 2012 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubystar/2834143 to your computer and use it in GitHub Desktop.
Save rubystar/2834143 to your computer and use it in GitHub Desktop.
migrating to ruby 1.9.3 from 1.8.7
...........................................................F......................................FF..*.............................................................................................................F.......................................................................................F.............................................................................................FFF...................................................................................................................................................................................................F..F...........................FF.F....F.............................................................................................................................F..FFFFFFFFFF...........................................................................................................................................................................................F......................FFFFF....................................................................................................................................................................................F....................................F................................................................................................................................................................................................................................................................................................................................................................................................................................F.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F........................................................................
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: Fri, 01 Jun 2012
got: Thu, 31 May 2012 (using ==)
Diff:
@@ -1,2 +1,2 @@
-Fri, 01 Jun 2012
+Thu, 31 May 2012
# ./spec/integration/campaign_spec.rb:433
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
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
4) WikiPage should be valid
Failure/Error: Factory.build(:wiki_page).should be_valid
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/integration/wiki_page_spec.rb:6
5) Department should have many products
Failure/Error: @department1.products.count.should == 39
expected: 39
got: 41 (using ==)
# ./spec/integration/department_spec.rb:21
6) MediaPlan should be valid
Failure/Error: @media_plan.should be_valid
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/integration/media_plan_spec.rb:10
7) MediaPlan when validating email input with valid input should be valid
Failure/Error: @media_plan.should be_valid
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/integration/media_plan_spec.rb:16
8) MediaPlan when validating email input with invalid input should not be valid
Failure/Error: @media_plan.should_not be_valid
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/integration/media_plan_spec.rb:22
9) 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___256462308_70308441112480_7856332'
# ./app/helpers/layout_helper.rb:152:in `users_for'
# ./app/helpers/layout_helper.rb:132: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___10764650_70308403495480_7084'
# ./app/helpers/layout_helper.rb:167:in `context'
# ./app/views/delivery_reports/show.html.haml:1:in `_app_views_delivery_reports_show_html_haml___611739746_70308403605600_0'
# ./app/controllers/delivery_reports_controller.rb:61:in `show'
# ./app/controllers/delivery_reports_controller.rb:51:in `show'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/delivery_reports_controller_spec.rb:93
10) 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 `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__1348654989_70308404000720_987500'
# ./app/views/delivery_reports/show.html.haml:23:in `_app_views_delivery_reports_show_html_haml___611739746_70308403605600_0'
# ./app/views/delivery_reports/show.html.haml:21:in `_app_views_delivery_reports_show_html_haml___611739746_70308403605600_0'
# ./app/views/delivery_reports/show.html.haml:20:in `_app_views_delivery_reports_show_html_haml___611739746_70308403605600_0'
# ./app/helpers/layout_helper.rb:132: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___611739746_70308403605600_0'
# ./app/controllers/delivery_reports_controller.rb:138:in `update'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/delivery_reports_controller_spec.rb:118
11) MediaPlanRequestsController new action should render new template
Failure/Error: get :new
ActionView::Template::Error:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./app/views/media_plan_requests/_attachment_fields.html.haml:1:in `_app_views_media_plan_requests__attachment_fields_html_haml___127180786_70308403792500_7877100'
# ./app/helpers/application_helper.rb:104:in `link_to_add_fields'
# ./app/helpers/application_helper.rb:103:in `link_to_add_fields'
# ./app/views/media_plan_requests/_form.html.haml:55:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:54:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:1:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/new.html.haml:2:in `_app_views_media_plan_requests_new_html_haml___1056344204_70308403421660_0'
# ./app/controllers/application_controller.rb:123:in `catch_cloudfiles_exceptions'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/media_plan_requests_controller_spec.rb:37
12) MediaPlanRequestsController create action should render new template when model is invalid
Failure/Error: post :create
ActionView::Template::Error:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./app/views/media_plan_requests/_attachment_fields.html.haml:1:in `_app_views_media_plan_requests__attachment_fields_html_haml___127180786_70308403792500_7877100'
# ./app/helpers/application_helper.rb:104:in `link_to_add_fields'
# ./app/helpers/application_helper.rb:103:in `link_to_add_fields'
# ./app/views/media_plan_requests/_form.html.haml:55:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:54:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:1:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/new.html.haml:2:in `_app_views_media_plan_requests_new_html_haml___1056344204_70308403421660_0'
# ./app/controllers/media_plan_requests_controller.rb:67:in `create'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/media_plan_requests_controller_spec.rb:44
13) MediaPlanRequestsController edit action should render edit template
Failure/Error: get :edit, :id => @media_plan_request
ActionView::Template::Error:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./app/views/media_plan_requests/_attachment_fields.html.haml:1:in `_app_views_media_plan_requests__attachment_fields_html_haml___127180786_70308403792500_7877100'
# ./app/helpers/application_helper.rb:104:in `link_to_add_fields'
# ./app/helpers/application_helper.rb:103:in `link_to_add_fields'
# ./app/views/media_plan_requests/_form.html.haml:55:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:54:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:1:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/edit.html.haml:2:in `_app_views_media_plan_requests_edit_html_haml___458704118_70308401070800_0'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/media_plan_requests_controller_spec.rb:56
14) MediaPlanRequestsController update action when model is invalid should render edit template
Failure/Error: put :update, :id => @media_plan_request
ActionView::Template::Error:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./app/views/media_plan_requests/_attachment_fields.html.haml:1:in `_app_views_media_plan_requests__attachment_fields_html_haml___127180786_70308403792500_7877100'
# ./app/helpers/application_helper.rb:104:in `link_to_add_fields'
# ./app/helpers/application_helper.rb:103:in `link_to_add_fields'
# ./app/views/media_plan_requests/_form.html.haml:55:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:54:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/_form.html.haml:1:in `_app_views_media_plan_requests__form_html_haml___578607624_70308403386520_1073790'
# ./app/views/media_plan_requests/edit.html.haml:2:in `_app_views_media_plan_requests_edit_html_haml___458704118_70308401070800_0'
# ./app/controllers/media_plan_requests_controller.rb:103:in `update'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/media_plan_requests_controller_spec.rb:74
15) IssuesController new action should render new template
Failure/Error: get :new
ActionView::Template::Error:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./app/views/issues/_attachment_fields.html.haml:1:in `_app_views_issues__attachment_fields_html_haml__195818785_70308401828940_7877100'
# ./app/helpers/application_helper.rb:104:in `link_to_add_fields'
# ./app/helpers/application_helper.rb:103:in `link_to_add_fields'
# ./app/views/issues/new.html.haml:13:in `_app_views_issues_new_html_haml__777341540_70308398965260_0'
# ./app/views/issues/new.html.haml:12:in `_app_views_issues_new_html_haml__777341540_70308398965260_0'
# ./app/views/issues/new.html.haml:3:in `_app_views_issues_new_html_haml__777341540_70308398965260_0'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/issues_controller_spec.rb:32
16) WikiPagesController show action should render show template
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
17) WikiPagesController new action should render new template
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
18) WikiPagesController create action should render new template when model is invalid
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
19) WikiPagesController create action should redirect when model is valid
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
20) WikiPagesController edit action should render edit template
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
21) WikiPagesController destroy action should destroy model and redirect to index action
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
22) WikiPagesController index action when not providing a search param should redirect to show
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
23) WikiPagesController index action when providing a search param should render index template
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
24) WikiPagesController update action when model is valid should redirect to show
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
25) WikiPagesController update action when model is invalid should render edit template
Failure/Error: @wiki_page = Factory.create(:wiki_page)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/wiki_pages_controller_spec.rb:8
26) AdvertisersController show action when requesting json should return json
Failure/Error: get :show, :id => @advertiser, :format => :json
ActionView::MissingTemplate:
Missing template advertisers/show with {:handlers=>[:prawn_dsl, :rjs, :builder, :rabl, :rxml, :erb, :prawn, :rhtml, :prawn_xxx, :haml], :formats=>[:json], :locale=>[:en, :en]} in view paths "/home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/app/views", "/home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/vendor/plugins/country_select/app/views", "/usr/local/rvm/gems/ruby-1.8.7-p357@redzone-latest/bundler/gems/wash_out-69fa5b27396f/app/views", "/usr/local/rvm/gems/ruby-1.8.7-p357@redzone-latest/gems/sorcery-0.7.12/app/views", "/usr/local/rvm/gems/ruby-1.8.7-p357@redzone-latest/bundler/gems/nested_form-63dcbcc6c6db/app/views", "/usr/local/rvm/gems/ruby-1.8.7-p357@redzone-latest/gems/formtastic-2.0.2/app/views"
# ./app/controllers/advertisers_controller.rb:30:in `show'
# ./app/controllers/application_controller.rb:139:in `set_logger_username'
# ./app/controllers/application_controller.rb:108:in `catch_record_not_found'
# ./spec/controllers/advertisers_controller_spec.rb:48
27) MediaPlansController index action should render index template
Failure/Error: @media_plan = MediaPlan.create(Factory.attributes_for(:media_plan).merge(:media_plan_request=>@media_plan_request))
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/media_plans_controller_spec.rb:10
28) MediaPlansController new action should render new template
Failure/Error: @media_plan = MediaPlan.create(Factory.attributes_for(:media_plan).merge(:media_plan_request=>@media_plan_request))
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/media_plans_controller_spec.rb:10
29) MediaPlansController create action should render new template when model is invalid
Failure/Error: @media_plan = MediaPlan.create(Factory.attributes_for(:media_plan).merge(:media_plan_request=>@media_plan_request))
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/media_plans_controller_spec.rb:10
30) MediaPlansController create action should redirect when model is valid
Failure/Error: @media_plan = MediaPlan.create(Factory.attributes_for(:media_plan).merge(:media_plan_request=>@media_plan_request))
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/media_plans_controller_spec.rb:10
31) MediaPlansController destroy action should destroy model and redirect to index action
Failure/Error: @media_plan = MediaPlan.create(Factory.attributes_for(:media_plan).merge(:media_plan_request=>@media_plan_request))
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/controllers/media_plans_controller_spec.rb:10
32) User unlock should return proper values
Failure/Error: @user.lock_expires_at.should < DateTime.now
expected: < Wed, 30 May 2012 13:00:00 +0530
got: Wed, 30 May 2012 02:30:00 CDT -05:00
Diff:
@@ -1,2 +1,2 @@
-Wed, 30 May 2012 13:00:00 +0530
+Wed, 30 May 2012 02:30:00 CDT -05:00
# ./spec/models/user_spec.rb:246
33) 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
34) ActiveRecord update_all() should log multiple updates when the result is scoped
Failure/Error: AUDIT_LOG.should_receive(:info).with("[UNKNOWN][MASSMOD]" +
(#<AuditLogger:0x7fe3f3490a78>).info("[UNKNOWN][MASSMOD][Receivable][[21, 20]]:[\"released = ?\", true]; ")
expected: 1 time
received: 0 times
# ./spec/models/update_all_spec.rb:22
35) MediaPlanMailer complete_notification(media_plan_id, user_id, sent_at=Time.now) should be successful
Failure/Error: @mp = Factory.create(:media_plan, :media_plan_request => @mpr, :index=>1)
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://auth.api.rackspacecloud.com/v1.0
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [1].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
[1] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/getting-started
[2] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/allow-http-connections-when-no-cassette
[3] https://www.relishapp.com/myronmarston/vcr/v/2-1-1/docs/configuration/ignore-request
================================================================================
# ./spec/models/media_plan_mailer_spec.rb:59
Finished in 1483.76 seconds
2198 examples, 35 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/integration/wiki_page_spec.rb:5 # WikiPage should be valid
rspec ./spec/integration/department_spec.rb:20 # Department should have many products
rspec ./spec/integration/media_plan_spec.rb:9 # MediaPlan should be valid
rspec ./spec/integration/media_plan_spec.rb:15 # MediaPlan when validating email input with valid input should be valid
rspec ./spec/integration/media_plan_spec.rb:20 # MediaPlan when validating email input with invalid input should not be valid
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/controllers/media_plan_requests_controller_spec.rb:36 # MediaPlanRequestsController new action should render new template
rspec ./spec/controllers/media_plan_requests_controller_spec.rb:41 # MediaPlanRequestsController create action should render new template when model is invalid
rspec ./spec/controllers/media_plan_requests_controller_spec.rb:55 # MediaPlanRequestsController edit action should render edit template
rspec ./spec/controllers/media_plan_requests_controller_spec.rb:72 # MediaPlanRequestsController update action when model is invalid should render edit template
rspec ./spec/controllers/issues_controller_spec.rb:31 # IssuesController new action should render new template
rspec ./spec/controllers/wiki_pages_controller_spec.rb:29 # WikiPagesController show action should render show template
rspec ./spec/controllers/wiki_pages_controller_spec.rb:34 # WikiPagesController new action should render new template
rspec ./spec/controllers/wiki_pages_controller_spec.rb:39 # WikiPagesController create action should render new template when model is invalid
rspec ./spec/controllers/wiki_pages_controller_spec.rb:46 # WikiPagesController create action should redirect when model is valid
rspec ./spec/controllers/wiki_pages_controller_spec.rb:53 # WikiPagesController edit action should render edit template
rspec ./spec/controllers/wiki_pages_controller_spec.rb:78 # WikiPagesController destroy action should destroy model and redirect to index action
rspec ./spec/controllers/wiki_pages_controller_spec.rb:13 # WikiPagesController index action when not providing a search param should redirect to show
rspec ./spec/controllers/wiki_pages_controller_spec.rb:20 # WikiPagesController index action when providing a search param should render index template
rspec ./spec/controllers/wiki_pages_controller_spec.rb:63 # WikiPagesController update action when model is valid should redirect to show
rspec ./spec/controllers/wiki_pages_controller_spec.rb:70 # WikiPagesController update action when model is invalid should render edit template
rspec ./spec/controllers/advertisers_controller_spec.rb:47 # AdvertisersController show action when requesting json should return json
rspec ./spec/controllers/media_plans_controller_spec.rb:13 # MediaPlansController index action should render index template
rspec ./spec/controllers/media_plans_controller_spec.rb:18 # MediaPlansController new action should render new template
rspec ./spec/controllers/media_plans_controller_spec.rb:23 # MediaPlansController create action should render new template when model is invalid
rspec ./spec/controllers/media_plans_controller_spec.rb:30 # MediaPlansController create action should redirect when model is valid
rspec ./spec/controllers/media_plans_controller_spec.rb:37 # MediaPlansController destroy action should destroy model and redirect to index action
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
rspec ./spec/models/update_all_spec.rb:21 # ActiveRecord update_all() should log multiple updates when the result is scoped
rspec ./spec/models/media_plan_mailer_spec.rb:58 # MediaPlanMailer complete_notification(media_plan_id, user_id, sent_at=Time.now) should be successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment