Created
September 24, 2012 17:17
-
-
Save jeffreywalter/3777104 to your computer and use it in GitHub Desktop.
e_COD_add_bundle_ui_4
This file contains 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) Offer#presentable? with no term limitation should not be presentable | |
Failure/Error: subject { offer.presentable? } | |
NoMethodError: | |
undefined method `in_time_zone' for nil:NilClass | |
# /private/tmp/monaco/app/models/term_limitation.rb:70:in `valid_for_offer' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:28:in `valid_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:24:in `terms_or_cached_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:20:in `terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:67:in `svod_term_limitations' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:90:in `svod_term_limitation' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:40:in `term_limitation' | |
# /private/tmp/monaco/app/models/offer.rb:169:in `contains_term_limitation?' | |
# /private/tmp/monaco/app/models/offer.rb:157:in `presentable?' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:212:in `block (3 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:270:in `block (4 levels) in <top (required)>' | |
2) Offer#presentable? with a soft deleted term limitation should not be presentable | |
Failure/Error: subject { offer.presentable? } | |
NoMethodError: | |
undefined method `in_time_zone' for nil:NilClass | |
# /private/tmp/monaco/app/models/term_limitation.rb:70:in `valid_for_offer' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:28:in `valid_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:24:in `terms_or_cached_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:20:in `terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:67:in `svod_term_limitations' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:90:in `svod_term_limitation' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:40:in `term_limitation' | |
# /private/tmp/monaco/app/models/offer.rb:169:in `contains_term_limitation?' | |
# /private/tmp/monaco/app/models/offer.rb:157:in `presentable?' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:212:in `block (3 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:287:in `block (4 levels) in <top (required)>' | |
3) Offer#svod_term_limitations when svod term limitations count | |
Failure/Error: let!(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:336:in `block (4 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:333:in `block (4 levels) in <top (required)>' | |
4) Offer#cache_term_limitations adding additional term limitations should cache the additional term | |
Failure/Error: offer.assign_term_limitation(another_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:377:in `block (4 levels) in <top (required)>' | |
5) Offer#cache_term_limitations adding additional term limitations should add additional term offering_id to offer | |
Failure/Error: offer.assign_term_limitation(another_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:377:in `block (4 levels) in <top (required)>' | |
6) Offer#terms with cached terms should return cached terms | |
Failure/Error: offer.assign_term_limitation(another_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:403:in `block (4 levels) in <top (required)>' | |
7) Offer#terms with cached terms should have the appropriate number of cached_term_limitations_attributes | |
Failure/Error: offer.assign_term_limitation(another_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:403:in `block (4 levels) in <top (required)>' | |
8) Offer#term_limitation multiple svod suggested price for most valid term | |
Failure/Error: offer.assign_term_limitation(five_dollar_svod) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:504:in `block (4 levels) in <top (required)>' | |
9) Offer#term_limitation not svod only and user does not belong to subscription inherits suggested price from the offer | |
Failure/Error: offer.assign_term_limitation(five_dollar_svod) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:532:in `block (4 levels) in <top (required)>' | |
10) Offer#term_limitation not svod only and user belongs to subscription svod term is more expensive | |
Failure/Error: offer.assign_term_limitation(five_dollar_svod) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:532:in `block (4 levels) in <top (required)>' | |
11) Offer#term_limitation not svod only and user belongs to subscription svod term is less expensive | |
Failure/Error: offer.assign_term_limitation(five_dollar_svod) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:532:in `block (4 levels) in <top (required)>' | |
12) Offer#display_behavior_for when svod only with user and user's subscriber is part of subscription display behavior is normal | |
Failure/Error: let!(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:630:in `block (4 levels) in <top (required)>' | |
13) Offer#display_behavior_for when svod only with user and user's subscriber is not part of subscription display behavior is grey | |
Failure/Error: let!(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:630:in `block (4 levels) in <top (required)>' | |
14) Offer#display_behavior_for when svod only without user inherits display_behavior from the folder | |
Failure/Error: let!(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:630:in `block (4 levels) in <top (required)>' | |
15) Offer#display_behavior_for when offer is not svod only or user is blank not svod only inherits display behavior from the folder | |
Failure/Error: let(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:665:in `block (4 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:672:in `block (5 levels) in <top (required)>' | |
16) Offer#display_behavior_for when offer is not svod only or user is blank without user inherits display behavior from the folder | |
Failure/Error: let(:offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:665:in `block (4 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:626:in `block (3 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:684:in `block (5 levels) in <top (required)>' | |
17) Offer before hooks De-normalizes the subscriptions from its terms copies the ratings from the offer's content group | |
Failure/Error: let!(:hbo_offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:835:in `block (4 levels) in <top (required)>' | |
18) Offer before hooks with a master term sets the master term info copies the master term license window start date | |
Failure/Error: offer.master_start_date_time.should == term_limitation.start_date_time | |
expected: 2012-09-21 16:11:43 UTC | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:847:in `block (5 levels) in <top (required)>' | |
19) Offer before hooks with a master term sets the master term info copies the master term license window end date | |
Failure/Error: offer.master_end_date_time.should == term_limitation.end_date_time | |
expected: 2012-09-25 16:11:44 UTC | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:851:in `block (5 levels) in <top (required)>' | |
20) Offer before hooks with a master term sets the master term info copies the master term uri_id | |
Failure/Error: offer.master_term_uri_id.should == term_limitation.uri_id | |
expected: "ericsson.com/Terms/1" | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:855:in `block (5 levels) in <top (required)>' | |
21) Offer before hooks with a master term adding term limitations does not re-set the master term | |
Failure/Error: offer.assign_term_limitation(term_limitation2) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:862:in `block (5 levels) in <top (required)>' | |
22) Offer before hooks without a master term sets window start date to 1 year ago | |
Failure/Error: offer.master_start_date_time.utc.to_s(:db).should == one_year_ago | |
NoMethodError: | |
undefined method `utc' for nil:NilClass | |
# /private/tmp/monaco/spec/models/offer_spec.rb:883:in `block (4 levels) in <top (required)>' | |
23) Offer before hooks without a master term sets window end date to 1 year from now | |
Failure/Error: offer.master_end_date_time.utc.to_s(:db).should == one_year_from_now | |
NoMethodError: | |
undefined method `utc' for nil:NilClass | |
# /private/tmp/monaco/spec/models/offer_spec.rb:887:in `block (4 levels) in <top (required)>' | |
24) Offer#assign_term_limitation with a term with valid dates assigns the term to the offer | |
Failure/Error: offer.assign_term_limitation(new_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:903:in `block (4 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:898:in `block (3 levels) in <top (required)>' | |
25) Offer#assign_term_limitation with a term with invalid dates does not assign the term to the offer | |
Failure/Error: offer.assign_term_limitation(new_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:903:in `block (4 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:898:in `block (3 levels) in <top (required)>' | |
26) Offer date_time getters with a master term should display the master_start_date_time with time zone adjustment | |
Failure/Error: offer.master_start_date_time.should == Time.zone.parse("2011/01/01 8:00AM") | |
expected: Sat, 01 Jan 2011 08:00:00 UTC +00:00 | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:932:in `block (4 levels) in <top (required)>' | |
27) Offer date_time getters with a master term should display the master_end_date_time with time zone adjustment | |
Failure/Error: offer.master_end_date_time.should == Time.zone.parse("2011/01/14 8:00PM") | |
expected: Fri, 14 Jan 2011 20:00:00 UTC +00:00 | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:936:in `block (4 levels) in <top (required)>' | |
28) Offer.available | |
Failure/Error: it { should == [offer_1, offer_2] } | |
expected: [#<Offer _id: 50608642879563127f003aec, _type: "Offer", created_at: 2012-09-24 16:11:46 UTC, updated_at: 2012-09-24 16:11:46 UTC, status: "active", uri_id: "ericsson.com/Offer/MOLL2940018092651598", start_date_time: 2011-01-01 06:00:00 UTC, end_date_time: 2021-06-01 05:00:00 UTC, creation_date_time: nil, internal_version_number: nil, provider_version_number: nil, master_source_ref: nil, description: nil, provider: nil, product: nil, asset_name: "Ut Labore Vel", provider_qa_contact: nil, notify_uri: nil, package_id: nil, version: 1, modifier_id: nil, provider_id: nil, billing_id: "HBO12", content_group_refs: ["ericsson.com/1"], master_start_date_time: nil, master_end_date_time: nil, master_term_uri_id: nil, provider_content_tiers: [], query_attrs: {}, subscription_ids: [], cached_promo_content_group: {"title"=>{"_id"=>BSON::ObjectId('50608642879563127f003adc'), "status"=>"active", "advisories"=>[], "audiences"=>[], "genres"=>["genre198"], "_type"=>"Title", "display_run_time"=>"03:25", "uri_id"=>"ericsson.com/50608642879563127f003adc", "start_date_time"=>2002-09-24 16:11:46 UTC, "end_date_time"=>2022-09-24 16:11:46 UTC, "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "ratings"=>[{"_id"=>BSON::ObjectId('50608642879563127f003ad4'), "rating_system"=>"MPAA", "value"=>"R"}], "localizable_titles"=>[{"lang"=>"en", "song_titles"=>[], "recording_artists"=>[], "_id"=>BSON::ObjectId('50608642879563127f003add'), "title_brief"=>"Jaws brief 641", "title_medium"=>"Jaws medium 642", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "title_sort_name"=>"Jaws medium 642", "version"=>1}], "title_brief"=>"Jaws brief 641", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "actor_display"=>nil, "director_display"=>nil, "writer_display"=>nil, "producer_display"=>nil, "summary_long"=>nil}}, cached_content_groups: [{"status"=>"active", "name"=>"Braveheart", "uri_id"=>"ericsson.com/1", "package_id"=>BSON::ObjectId('50608642879563127f003aea'), "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "version"=>1, "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "genres"=>["genre198"], "actor_display"=>nil, "display_run_time"=>"03:25", "ratings"=>[{"rating"=>"R", "type"=>"MPAA"}], "is_closed_captioning"=>nil, "posters"=>nil, "previews"=>nil, "box_covers"=>nil, "av_containers"=>[], "movies"=>nil}], cached_term_limitations_attributes: [{"_id"=>BSON::ObjectId('50608642879563127f003ae3'), "status"=>"active", "subscription_ids"=>[], "start_date_time"=>2012-09-21 16:11:46 UTC, "end_date_time"=>2012-10-04 16:11:46 UTC, "rental_period"=>"P0DT24H0M", "ingested"=>true, "_type"=>"TermLimitation", "contract_name"=>"monetize e-business architectures Doloribus", "product"=>"FOD", "uri_id"=>"ericsson.com/Terms/1", "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "suggested_prices"=>[{"currency"=>"USD", "_id"=>BSON::ObjectId('50608642879563127f003ae4'), "amount"=>5.99}], "offering_id"=>"1"}], cached_content_group_uri_id: "ericsson.com/1", promotional: false, orphan: true, promotional_content_group_ref: nil, source_metadata_spec_version: nil, offering_ids: ["1"], is_bundle: false, term_limitation_ids: [BSON::ObjectId('50608642879563127f003ae3')], master_term_id: BSON::ObjectId('50608642879563127f003ae3')>, #<Offer _id: 50608642879563127f003afd, _type: "Offer", created_at: 2012-09-24 16:11:46 UTC, updated_at: 2012-09-24 16:11:46 UTC, status: "active", uri_id: "ericsson.com/Offer/SAEP3155553306970842", start_date_time: 2011-01-01 06:00:00 UTC, end_date_time: 2021-06-01 05:00:00 UTC, creation_date_time: nil, internal_version_number: nil, provider_version_number: nil, master_source_ref: nil, description: nil, provider: nil, product: nil, asset_name: "Reiciendis Ipsum Similique", provider_qa_contact: nil, notify_uri: nil, package_id: nil, version: 1, modifier_id: nil, provider_id: nil, billing_id: "HBO12", content_group_refs: ["ericsson.com/1"], master_start_date_time: nil, master_end_date_time: nil, master_term_uri_id: nil, provider_content_tiers: [], query_attrs: {}, subscription_ids: [], cached_promo_content_group: {"title"=>{"_id"=>BSON::ObjectId('50608642879563127f003adc'), "status"=>"active", "advisories"=>[], "audiences"=>[], "genres"=>["genre198"], "_type"=>"Title", "display_run_time"=>"03:25", "uri_id"=>"ericsson.com/50608642879563127f003adc", "start_date_time"=>2002-09-24 16:11:46 UTC, "end_date_time"=>2022-09-24 16:11:46 UTC, "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "ratings"=>[{"_id"=>BSON::ObjectId('50608642879563127f003ad4'), "rating_system"=>"MPAA", "value"=>"R"}], "localizable_titles"=>[{"lang"=>"en", "song_titles"=>[], "recording_artists"=>[], "_id"=>BSON::ObjectId('50608642879563127f003add'), "title_brief"=>"Jaws brief 641", "title_medium"=>"Jaws medium 642", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "title_sort_name"=>"Jaws medium 642", "version"=>1}], "title_brief"=>"Jaws brief 641", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "actor_display"=>nil, "director_display"=>nil, "writer_display"=>nil, "producer_display"=>nil, "summary_long"=>nil}}, cached_content_groups: [{"status"=>"active", "name"=>"Braveheart", "uri_id"=>"ericsson.com/1", "package_id"=>BSON::ObjectId('50608642879563127f003aea'), "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "version"=>1, "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "genres"=>["genre198"], "actor_display"=>nil, "display_run_time"=>"03:25", "ratings"=>[{"rating"=>"R", "type"=>"MPAA"}], "is_closed_captioning"=>nil, "posters"=>nil, "previews"=>nil, "box_covers"=>nil, "av_containers"=>[], "movies"=>nil}], cached_term_limitations_attributes: [{"_id"=>BSON::ObjectId('50608642879563127f003ae3'), "_type"=>"TermLimitation", "contract_name"=>"monetize e-business architectures Doloribus", "created_at"=>2012-09-24 16:11:46 UTC, "end_date_time"=>2012-10-04 16:11:46 UTC, "ingested"=>true, "product"=>"FOD", "rental_period"=>"P0DT24H0M", "start_date_time"=>2012-09-21 16:11:46 UTC, "status"=>"active", "subscription_ids"=>[], "suggested_prices"=>[{"currency"=>"USD", "_id"=>BSON::ObjectId('50608642879563127f003ae4'), "amount"=>5.99}], "updated_at"=>2012-09-24 16:11:46 UTC, "uri_id"=>"ericsson.com/Terms/1", "offering_id"=>"2"}], cached_content_group_uri_id: "ericsson.com/1", promotional: false, orphan: true, promotional_content_group_ref: nil, source_metadata_spec_version: nil, offering_ids: ["2"], is_bundle: false, term_limitation_ids: [BSON::ObjectId('50608642879563127f003ae3')], master_term_id: BSON::ObjectId('50608642879563127f003ae3')>] | |
got: #<Mongoid::Criteria | |
selector: {:master_start_date_time=>{"$lt"=>2012-09-24 16:11:47 UTC}, :master_end_date_time=>{"$gt"=>2012-09-24 16:11:47 UTC}}, | |
options: {}, | |
class: Offer, | |
embedded: false> | |
(using ==) | |
Diff: | |
@@ -1,3 +1,6 @@ | |
-[#<Offer _id: 50608642879563127f003aec, _type: "Offer", created_at: 2012-09-24 16:11:46 UTC, updated_at: 2012-09-24 16:11:46 UTC, status: "active", uri_id: "ericsson.com/Offer/MOLL2940018092651598", start_date_time: 2011-01-01 06:00:00 UTC, end_date_time: 2021-06-01 05:00:00 UTC, creation_date_time: nil, internal_version_number: nil, provider_version_number: nil, master_source_ref: nil, description: nil, provider: nil, product: nil, asset_name: "Ut Labore Vel", provider_qa_contact: nil, notify_uri: nil, package_id: nil, version: 1, modifier_id: nil, provider_id: nil, billing_id: "HBO12", content_group_refs: ["ericsson.com/1"], master_start_date_time: nil, master_end_date_time: nil, master_term_uri_id: nil, provider_content_tiers: [], query_attrs: {}, subscription_ids: [], cached_promo_content_group: {"title"=>{"_id"=>BSON::ObjectId('50608642879563127f003adc'), "status"=>"active", "advisories"=>[], "audiences"=>[], "genres"=>["genre198"], "_type"=>"Title", "display_run_time"=>"03:25", "uri_id"=>"ericsson.com/50608642879563127f003adc", "start_date_time"=>2002-09-24 16:11:46 UTC, "end_date_time"=>2022-09-24 16:11:46 UTC, "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "ratings"=>[{"_id"=>BSON::ObjectId('50608642879563127f003ad4'), "rating_system"=>"MPAA", "value"=>"R"}], "localizable_titles"=>[{"lang"=>"en", "song_titles"=>[], "recording_artists"=>[], "_id"=>BSON::ObjectId('50608642879563127f003add'), "title_brief"=>"Jaws brief 641", "title_medium"=>"Jaws medium 642", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "title_sort_name"=>"Jaws medium 642", "version"=>1}], "title_brief"=>"Jaws brief 641", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "actor_display"=>nil, "director_display"=>nil, "writer_display"=>nil, "producer_display"=>nil, "summary_long"=>nil}}, cached_content_groups: [{"status"=>"active", "name"=>"Braveheart", "uri_id"=>"ericsson.com/1", "package_id"=>BSON::ObjectId('50608642879563127f003aea'), "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "version"=>1, "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "genres"=>["genre198"], "actor_display"=>nil, "display_run_time"=>"03:25", "ratings"=>[{"rating"=>"R", "type"=>"MPAA"}], "is_closed_captioning"=>nil, "posters"=>nil, "previews"=>nil, "box_covers"=>nil, "av_containers"=>[], "movies"=>nil}], cached_term_limitations_attributes: [{"_id"=>BSON::ObjectId('50608642879563127f003ae3'), "status"=>"active", "subscription_ids"=>[], "start_date_time"=>2012-09-21 16:11:46 UTC, "end_date_time"=>2012-10-04 16:11:46 UTC, "rental_period"=>"P0DT24H0M", "ingested"=>true, "_type"=>"TermLimitation", "contract_name"=>"monetize e-business architectures Doloribus", "product"=>"FOD", "uri_id"=>"ericsson.com/Terms/1", "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "suggested_prices"=>[{"currency"=>"USD", "_id"=>BSON::ObjectId('50608642879563127f003ae4'), "amount"=>5.99}], "offering_id"=>"1"}], cached_content_group_uri_id: "ericsson.com/1", promotional: false, orphan: true, promotional_content_group_ref: nil, source_metadata_spec_version: nil, offering_ids: ["1"], is_bundle: false, term_limitation_ids: [BSON::ObjectId('50608642879563127f003ae3')], master_term_id: BSON::ObjectId('50608642879563127f003ae3')>, | |
- #<Offer _id: 50608642879563127f003afd, _type: "Offer", created_at: 2012-09-24 16:11:46 UTC, updated_at: 2012-09-24 16:11:46 UTC, status: "active", uri_id: "ericsson.com/Offer/SAEP3155553306970842", start_date_time: 2011-01-01 06:00:00 UTC, end_date_time: 2021-06-01 05:00:00 UTC, creation_date_time: nil, internal_version_number: nil, provider_version_number: nil, master_source_ref: nil, description: nil, provider: nil, product: nil, asset_name: "Reiciendis Ipsum Similique", provider_qa_contact: nil, notify_uri: nil, package_id: nil, version: 1, modifier_id: nil, provider_id: nil, billing_id: "HBO12", content_group_refs: ["ericsson.com/1"], master_start_date_time: nil, master_end_date_time: nil, master_term_uri_id: nil, provider_content_tiers: [], query_attrs: {}, subscription_ids: [], cached_promo_content_group: {"title"=>{"_id"=>BSON::ObjectId('50608642879563127f003adc'), "status"=>"active", "advisories"=>[], "audiences"=>[], "genres"=>["genre198"], "_type"=>"Title", "display_run_time"=>"03:25", "uri_id"=>"ericsson.com/50608642879563127f003adc", "start_date_time"=>2002-09-24 16:11:46 UTC, "end_date_time"=>2022-09-24 16:11:46 UTC, "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "ratings"=>[{"_id"=>BSON::ObjectId('50608642879563127f003ad4'), "rating_system"=>"MPAA", "value"=>"R"}], "localizable_titles"=>[{"lang"=>"en", "song_titles"=>[], "recording_artists"=>[], "_id"=>BSON::ObjectId('50608642879563127f003add'), "title_brief"=>"Jaws brief 641", "title_medium"=>"Jaws medium 642", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "title_sort_name"=>"Jaws medium 642", "version"=>1}], "title_brief"=>"Jaws brief 641", "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "actor_display"=>nil, "director_display"=>nil, "writer_display"=>nil, "producer_display"=>nil, "summary_long"=>nil}}, cached_content_groups: [{"status"=>"active", "name"=>"Braveheart", "uri_id"=>"ericsson.com/1", "package_id"=>BSON::ObjectId('50608642879563127f003aea'), "updated_at"=>2012-09-24 16:11:46 UTC, "created_at"=>2012-09-24 16:11:46 UTC, "version"=>1, "title_long"=>"Braveheart", "summary_short"=>"voluptas sint minus soluta", "genres"=>["genre198"], "actor_display"=>nil, "display_run_time"=>"03:25", "ratings"=>[{"rating"=>"R", "type"=>"MPAA"}], "is_closed_captioning"=>nil, "posters"=>nil, "previews"=>nil, "box_covers"=>nil, "av_containers"=>[], "movies"=>nil}], cached_term_limitations_attributes: [{"_id"=>BSON::ObjectId('50608642879563127f003ae3'), "_type"=>"TermLimitation", "contract_name"=>"monetize e-business architectures Doloribus", "created_at"=>2012-09-24 16:11:46 UTC, "end_date_time"=>2012-10-04 16:11:46 UTC, "ingested"=>true, "product"=>"FOD", "rental_period"=>"P0DT24H0M", "start_date_time"=>2012-09-21 16:11:46 UTC, "status"=>"active", "subscription_ids"=>[], "suggested_prices"=>[{"currency"=>"USD", "_id"=>BSON::ObjectId('50608642879563127f003ae4'), "amount"=>5.99}], "updated_at"=>2012-09-24 16:11:46 UTC, "uri_id"=>"ericsson.com/Terms/1", "offering_id"=>"2"}], cached_content_group_uri_id: "ericsson.com/1", promotional: false, orphan: true, promotional_content_group_ref: nil, source_metadata_spec_version: nil, offering_ids: ["2"], is_bundle: false, term_limitation_ids: [BSON::ObjectId('50608642879563127f003ae3')], master_term_id: BSON::ObjectId('50608642879563127f003ae3')>] | |
+#<Mongoid::Criteria | |
+ selector: {:master_start_date_time=>{"$lt"=>2012-09-24 16:11:47 UTC}, :master_end_date_time=>{"$gt"=>2012-09-24 16:11:47 UTC}}, | |
+ options: {}, | |
+ class: Offer, | |
+ embedded: false> | |
# /private/tmp/monaco/spec/models/offer_spec.rb:951:in `block (3 levels) in <top (required)>' | |
29) Offer.available count | |
Failure/Error: its(:count) { should == 2 } | |
expected: 2 | |
got: 0 (using ==) | |
# /private/tmp/monaco/spec/models/offer_spec.rb:950:in `block (3 levels) in <top (required)>' | |
30) Offer#suggested_price is the min of the offer terms suggested price | |
Failure/Error: offer.assign_term_limitation(best_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1081:in `block (3 levels) in <top (required)>' | |
31) Offer#svod_term_limitation product | |
Failure/Error: let!(:hbo_offer) { Fabricate(:offer_with_svod_term) } | |
Fabrication::UnknownFabricatorError: | |
No Fabricator defined for 'offer_with_svod_term' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1094:in `block (3 levels) in <top (required)>' | |
32) Offer#destroy_children destroys associated offers | |
Failure/Error: offer1.assign_term_limitation(manual_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1227:in `block (3 levels) in <top (required)>' | |
33) Offer#destroy_children destroys content groups | |
Failure/Error: offer1.assign_term_limitation(manual_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1227:in `block (3 levels) in <top (required)>' | |
34) Offer#destroy_children does not destroy manual term limitations | |
Failure/Error: offer1.assign_term_limitation(manual_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1227:in `block (3 levels) in <top (required)>' | |
35) Offer#destroy_children destroys ingested term limitations | |
Failure/Error: offer1.assign_term_limitation(manual_term) | |
NoMethodError: | |
undefined method `>' for nil:NilClass | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:52:in `assign_term_limitation' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1227:in `block (3 levels) in <top (required)>' | |
36) Offer#display_status expired offer should be expired | |
Failure/Error: subject { offer.display_status } | |
NoMethodError: | |
undefined method `in_time_zone' for nil:NilClass | |
# /private/tmp/monaco/app/models/term_limitation.rb:70:in `valid_for_offer' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:28:in `valid_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:24:in `terms_or_cached_terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:20:in `terms' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:67:in `svod_term_limitations' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:90:in `svod_term_limitation' | |
# /private/tmp/monaco/lib/term_limitable_offer.rb:40:in `term_limitation' | |
# /private/tmp/monaco/app/models/offer.rb:169:in `contains_term_limitation?' | |
# /private/tmp/monaco/app/models/offer.rb:275:in `expired?' | |
# /private/tmp/monaco/lib/offer_display_status.rb:8:in `display_status' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1358:in `block (3 levels) in <top (required)>' | |
# /private/tmp/monaco/spec/models/offer_spec.rb:1419:in `block (4 levels) in <top (required)>' | |
37) Service::AssetsController POST create UTF-8 data ADI3 | |
Failure/Error: it { response.code.should == "200" } | |
expected: "200" | |
got: "400" (using ==) | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:35:in `block (5 levels) in <top (required)>' | |
38) Service::AssetsController POST create UTF-8 data ADI3 sets a field on Title | |
Failure/Error: Title.last.title_brief.should == "大舟" | |
NoMethodError: | |
undefined method `title_brief' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:38:in `block (5 levels) in <top (required)>' | |
39) Service::AssetsController POST create UTF-8 data ADI3 sets a rating on Title | |
Failure/Error: Title.last.ratings.first.value.should == '成人' | |
NoMethodError: | |
undefined method `ratings' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:42:in `block (5 levels) in <top (required)>' | |
40) Service::AssetsController POST create UTF-8 data ADI3 sets a field on Offer | |
Failure/Error: Offer.last.asset_name.should == '船' | |
NoMethodError: | |
undefined method `asset_name' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:46:in `block (5 levels) in <top (required)>' | |
41) Service::AssetsController POST create UTF-8 data ADI3 sets a field on TermLimitation | |
Failure/Error: TermLimitation.last.contract_name.should == '促銷' | |
NoMethodError: | |
undefined method `contract_name' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:50:in `block (5 levels) in <top (required)>' | |
42) Service::AssetsController POST create UTF-8 data ADI3 sets a field on Category | |
Failure/Error: Category.last.name.should == '卡通' | |
NoMethodError: | |
undefined method `name' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:54:in `block (5 levels) in <top (required)>' | |
43) Service::AssetsController POST create UTF-8 data ADI3 sets a field on Trick | |
Failure/Error: Trick.last.vendor_name.should == '並發' | |
NoMethodError: | |
undefined method `vendor_name' for nil:NilClass | |
# /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:58:in `block (5 levels) in <top (required)>' | |
44) CdnStatistic#all_stats_as_x_y | |
Failure/Error: it { should == {0=>[{:x=>date_time / 1000, :y=>100}]}} | |
expected: {0=>[{:x=>1348503536, :y=>100}]} | |
got: {"Jaws long 1317"=>[{:x=>1348503536, :y=>100}]} (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-{0=>[{:x=>1348503536, :y=>100}]} | |
+{"Jaws long 1317"=>[{:x=>1348503536, :y=>100}]} | |
# /private/tmp/monaco/spec/models/cdn_statistic_spec.rb:24:in `block (3 levels) in <top (required)>' | |
45) Service::AssetsController POST create the import process creates the offer master start date time | |
Failure/Error: last_offer.master_start_date_time.should_not == nil | |
expected not: == nil | |
got: nil | |
# /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:57:in `block (4 levels) in <top (required)>' | |
46) Service::AssetsController POST create the import process creates the offer master end date time | |
Failure/Error: last_offer.master_end_date_time.should_not == nil | |
expected not: == nil | |
got: nil | |
# /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:61:in `block (4 levels) in <top (required)>' | |
47) Service::AssetsController DELETE soft delete term limitation term should be removed from cache term attributes in offers | |
Failure/Error: offer2.master_term_uri_id.should == term2.uri_id | |
expected: "soft.com/Term/TERM2222222222222222" | |
got: nil (using ==) | |
# /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:752:in `block (5 levels) in <top (required)>' | |
Finished in 549.44 seconds | |
3047 examples, 47 failures | |
Failed examples: | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:269 # Offer#presentable? with no term limitation should not be presentable | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:286 # Offer#presentable? with a soft deleted term limitation should not be presentable | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:339 # Offer#svod_term_limitations when svod term limitations count | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:380 # Offer#cache_term_limitations adding additional term limitations should cache the additional term | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:384 # Offer#cache_term_limitations adding additional term limitations should add additional term offering_id to offer | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:406 # Offer#terms with cached terms should return cached terms | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:410 # Offer#terms with cached terms should have the appropriate number of cached_term_limitations_attributes | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:525 # Offer#term_limitation multiple svod suggested price for most valid term | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:562 # Offer#term_limitation not svod only and user does not belong to subscription inherits suggested price from the offer | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:584 # Offer#term_limitation not svod only and user belongs to subscription svod term is more expensive | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:613 # Offer#term_limitation not svod only and user belongs to subscription svod term is less expensive | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:641 # Offer#display_behavior_for when svod only with user and user's subscriber is part of subscription display behavior is normal | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:648 # Offer#display_behavior_for when svod only with user and user's subscriber is not part of subscription display behavior is grey | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:658 # Offer#display_behavior_for when svod only without user inherits display_behavior from the folder | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:675 # Offer#display_behavior_for when offer is not svod only or user is blank not svod only inherits display behavior from the folder | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:683 # Offer#display_behavior_for when offer is not svod only or user is blank without user inherits display behavior from the folder | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:839 # Offer before hooks De-normalizes the subscriptions from its terms copies the ratings from the offer's content group | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:846 # Offer before hooks with a master term sets the master term info copies the master term license window start date | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:850 # Offer before hooks with a master term sets the master term info copies the master term license window end date | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:854 # Offer before hooks with a master term sets the master term info copies the master term uri_id | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:860 # Offer before hooks with a master term adding term limitations does not re-set the master term | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:882 # Offer before hooks without a master term sets window start date to 1 year ago | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:886 # Offer before hooks without a master term sets window end date to 1 year from now | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:910 # Offer#assign_term_limitation with a term with valid dates assigns the term to the offer | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:919 # Offer#assign_term_limitation with a term with invalid dates does not assign the term to the offer | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:931 # Offer date_time getters with a master term should display the master_start_date_time with time zone adjustment | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:935 # Offer date_time getters with a master term should display the master_end_date_time with time zone adjustment | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:951 # Offer.available | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:950 # Offer.available count | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1088 # Offer#suggested_price is the min of the offer terms suggested price | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1097 # Offer#svod_term_limitation product | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1233 # Offer#destroy_children destroys associated offers | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1237 # Offer#destroy_children destroys content groups | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1241 # Offer#destroy_children does not destroy manual term limitations | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1245 # Offer#destroy_children destroys ingested term limitations | |
rspec /private/tmp/monaco/spec/models/offer_spec.rb:1418 # Offer#display_status expired offer should be expired | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:35 # Service::AssetsController POST create UTF-8 data ADI3 | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:37 # Service::AssetsController POST create UTF-8 data ADI3 sets a field on Title | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:41 # Service::AssetsController POST create UTF-8 data ADI3 sets a rating on Title | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:45 # Service::AssetsController POST create UTF-8 data ADI3 sets a field on Offer | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:49 # Service::AssetsController POST create UTF-8 data ADI3 sets a field on TermLimitation | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:53 # Service::AssetsController POST create UTF-8 data ADI3 sets a field on Category | |
rspec /private/tmp/monaco/spec/controllers/utf8/assets_controller_spec.rb:57 # Service::AssetsController POST create UTF-8 data ADI3 sets a field on Trick | |
rspec /private/tmp/monaco/spec/models/cdn_statistic_spec.rb:24 # CdnStatistic#all_stats_as_x_y | |
rspec /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:56 # Service::AssetsController POST create the import process creates the offer master start date time | |
rspec /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:60 # Service::AssetsController POST create the import process creates the offer master end date time | |
rspec /private/tmp/monaco/spec/controllers/service/assets_controller_spec.rb:745 # Service::AssetsController DELETE soft delete term limitation term should be removed from cache term attributes in offers | |
(::) failed steps (::) | |
no link with title, id or text '3 offers' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_bundles_only.feature:97:in `And I follow "3 offers"' | |
(::) failed steps (::) | |
no link with title, id or text '3 offers' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_bundles_only.feature:97:in `And I follow "3 offers"'expected #has_content?("The Last Starfight") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_bundles_only.feature:132:in `Then I should see "The Last Starfight"' | |
(::) failed steps (::) | |
Unable to find '//dt[contains(., 'Fantasy')]/a' (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/category_management_steps.rb:28:in `/^I edit the "([^"]*)" category$/' | |
./features/dynamic_criteria_folders/operator_adds_new_dynamic_criteria_folder.feature:82:in `And I edit the "Fantasy" category' | |
(::) failed steps (::) | |
no link with title, id or text '3 offers' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_offers_by_actor_on_the_catalog_management_page.feature:95:in `And I follow "3 offers"' | |
(::) failed steps (::) | |
no link with title, id or text '3 offers' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_offers_by_actor_on_the_catalog_management_page.feature:95:in `And I follow "3 offers"'expected #has_content?("The Last Starfight") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/catalog_management/operator_searches_offers_by_actor_on_the_catalog_management_page.feature:130:in `Then I should see "The Last Starfight"' | |
(::) failed steps (::) | |
expected #has_content?("can't be earlier than 01/01/2011 08:00:00") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:198:in `Then I should see "can't be earlier than 01/01/2011 08:00:00"' | |
(::) failed steps (::) | |
expected #has_content?("can't be earlier than 01/01/2011 08:00:00") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:198:in `Then I should see "can't be earlier than 01/01/2011 08:00:00"'expected #has_content?("can't be earlier than 01/01/2011 08:00:00") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:220:in `Then I should see "can't be earlier than 01/01/2011 08:00:00"' | |
(::) failed steps (::) | |
expected #has_content?("can't be earlier than 01/01/2011 08:00:00") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:198:in `Then I should see "can't be earlier than 01/01/2011 08:00:00"'expected #has_content?("can't be earlier than 01/01/2011 08:00:00") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:220:in `Then I should see "can't be earlier than 01/01/2011 08:00:00"'expected: /01\/01\/2011/ | |
got: "09/24/2002" (using =~) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-/01\/01\/2011/ | |
+09/24/2002 | |
(RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:159:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:155:in `/^the "([^"]*)" field(?: within "([^"]*)")? should contain "([^"]*)"$/' | |
./features/terms/operator_adds_term_s_to_an_offer.feature:256:in `Then the "Start Date" field should contain "01/01/2011"' | |
(::) failed steps (::) | |
no link with title, id or text '1 offer' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/offers/operator_removes_an_offer_from_the_last_category_it_belongs_to.feature:39:in `And I follow "1 offer" in the "Human" section' | |
(::) failed steps (::) | |
no link with title, id or text '1 offer' found (Capybara::ElementNotFound) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/offers/operator_navigates_to_offer_details_page_from_offer_modal.feature:28:in `When I follow "1 offer" in the "Klingon" section' | |
(::) failed steps (::) | |
expected #has_content?("Fantasy") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/dynamic_criteria_folders/operator_edits_a_dynamic_criteria_folder.feature:45:in `Then I should see "Fantasy" in the "Categories" section' | |
(::) failed steps (::) | |
expected #has_content?("allocating") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/virtual_machines/operator_starts_vm_instance.feature:27:in `Then I should see "allocating"' | |
(::) failed steps (::) | |
expected #has_content?("Term created & assigned successfully") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/offers/operator_adds_pricing_package_on_promotion.feature:61:in `Then I should see "Term created & assigned successfully"' | |
(::) failed steps (::) | |
expected #has_content?("my.epic.hardware.co.uk") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:111:in `block (2 levels) in <top (required)>' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:14:in `with_scope' | |
/private/tmp/monaco/features/step_definitions/web_steps.rb:109:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
./features/hubs/operator_adds_hardware_to_a_hub.feature:22:in `Then I should see "my.epic.hardware.co.uk"' | |
(::) failed steps (::) | |
expected #has_xpath?("//dt[contains(normalize-space(.), 'Human')]//small[contains(normalize-space(.), '1 offer')]") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
/private/tmp/monaco/features/step_definitions/catalog_management_steps.rb:11:in `/^the "([^"]*)" category should have (\d+) offers?$/' | |
./features/categories/operator_views_category_with_deleted_offer.feature:38:in `Then the "Human" category should have 1 offers' | |
Failing Scenarios: | |
cucumber features/catalog_management/operator_searches_bundles_only.feature:90 # Scenario: I search by actor then click on one of the categories of offers | |
cucumber features/catalog_management/operator_searches_bundles_only.feature:126 # Scenario: I search by license window end date | |
cucumber features/dynamic_criteria_folders/operator_adds_new_dynamic_criteria_folder.feature:77 # Scenario: Reverts a criteria folder to a regular folder | |
cucumber features/catalog_management/operator_searches_offers_by_actor_on_the_catalog_management_page.feature:88 # Scenario: I search by actor then click on one of the categories of offers | |
cucumber features/catalog_management/operator_searches_offers_by_actor_on_the_catalog_management_page.feature:124 # Scenario: I search by license window end date | |
cucumber features/terms/operator_adds_term_s_to_an_offer.feature:180 # Scenario: validate start end date to be within master start end date when adding new terms | |
cucumber features/terms/operator_adds_term_s_to_an_offer.feature:201 # Scenario: validate start end date to be within master start end date when editing existing terms | |
cucumber features/terms/operator_adds_term_s_to_an_offer.feature:253 # Scenario: start and end dates default to earliest and latest on offers | |
cucumber features/offers/operator_removes_an_offer_from_the_last_category_it_belongs_to.feature:43 # Scenario: Operator removes an offer | |
cucumber features/offers/operator_navigates_to_offer_details_page_from_offer_modal.feature:14 # Scenario: | |
cucumber features/dynamic_criteria_folders/operator_edits_a_dynamic_criteria_folder.feature:51 # Scenario: Adds a single dynamic criteria | |
cucumber features/virtual_machines/operator_starts_vm_instance.feature:18 # Scenario: | |
cucumber features/offers/operator_adds_pricing_package_on_promotion.feature:44 # Scenario: Successfully add new term to offer | |
cucumber features/hubs/operator_adds_hardware_to_a_hub.feature:12 # Scenario: | |
cucumber features/categories/operator_views_category_with_deleted_offer.feature:35 # Scenario: Operator cannot view offers that belong to a deleted Content Group | |
851 scenarios (15 failed, 9 skipped, 827 passed) | |
13473 steps (15 failed, 251 skipped, 13207 passed) | |
16m13.130s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment