spec/objects_spec.rb in fuelsdk-0.1.3 vs spec/objects_spec.rb in fuelsdk-0.1.4

- old
+ new

@@ -459,14 +459,12 @@ it 'correctly formats array property' do subject.customer_key = 'Subscribers' subject.properties = [{'Name' => 'Justin'}] - expect(subject.post).to eq([ - 'DataExtensionObject', [{ - 'CustomerKey' => 'Subscribers', - 'Properties' => {'Property' => [{'Name' => 'Name', 'Value' => 'Justin'}]}}] - ]) + expect(subject.post).to eq( + ["DataExtensionObject", [{"Name"=>"Justin", "CustomerKey"=>"Subscribers"}]] + ) end end end # verify backward compats