spec/receipt_spec.rb in venice-0.4.2 vs spec/receipt_spec.rb in venice-0.4.3

- old
+ new

@@ -10,10 +10,13 @@ 'receipt_type' => 'Production', 'adam_id' => 7654321, 'bundle_id' => 'com.foo.bar', 'application_version' => '2', 'download_id' => 1234567, + 'receipt_creation_date' => '2014-06-04 23:20:47 Etc/GMT', + 'receipt_creation_date_ms' => '1401924047883', + 'receipt_creation_date_pst' => '2014-06-04 16:20:47 America/Los_Angeles', 'request_date' => '2014-06-04 23:20:47 Etc/GMT', 'request_date_ms' => '1401924047883', 'request_date_pst' => '2014-06-04 16:20:47 America/Los_Angeles', 'original_purchase_date' => '2014-05-17 02:09:45 Etc/GMT', 'original_purchase_date_ms' => '1400292585000', @@ -24,10 +27,11 @@ { 'quantity' => '1', 'product_id' => 'com.foo.product1', 'transaction_id' => '1000000070107111', 'original_transaction_id' => '1000000061051111', + 'web_order_line_item_id' => '1000000026812043', 'purchase_date' => '2014-05-28 14:47:53 Etc/GMT', 'purchase_date_ms' => '1401288473000', 'purchase_date_pst' => '2014-05-28 07:47:53 America/Los_Angeles', 'original_purchase_date' => '2014-05-28 14:47:53 Etc/GMT', 'original_purchase_date_ms' => '1401288473000', @@ -59,9 +63,10 @@ its(:in_app) { should be_instance_of Array } its(:original_application_version) { '1' } its(:original_purchase_date) { should be_instance_of DateTime } its(:expires_at) { should be_instance_of DateTime } its(:receipt_type) { 'Production' } + its(:receipt_created_at) { should be_instance_of DateTime } its(:adam_id) { 7654321 } its(:download_id) { 1234567 } its(:requested_at) { should be_instance_of DateTime } describe '#verify!' do