spec/odata4/entity/shared_examples.rb in odata4-0.8.1 vs spec/odata4/entity/shared_examples.rb in odata4-0.8.2

- old
+ new

@@ -63,10 +63,10 @@ it { expect(subject.id).to eq('Suppliers(0)') } # Check property types it { expect(subject.get_property('ID')).to be_a(OData4::Properties::Integer) } it { expect(subject.get_property('Name')).to be_a(OData4::Properties::String) } - it { expect(subject.get_property('Address')).to be_a(OData4::ComplexType::Property) } + it { expect(subject.get_property('Address')).to be_a(OData4::Properties::Complex) } it { expect(subject.get_property('Location')).to be_a(OData4::Properties::Geography::Point) } # it { expect(subject.get_property('Products')).to be_a(OData4::NavigationProperty::Proxy)} # Check property values it { expect(subject['ID']).to eq(0) }