spec/odata4/entity_set_spec.rb in odata4-0.8.2 vs spec/odata4/entity_set_spec.rb in odata4-0.9.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe OData4::EntitySet, vcr: {cassette_name: 'entity_set_specs'} do
before(:example) do
- OData4::Service.open('http://services.odata.org/V4/OData/OData.svc', name: 'ODataDemo')
+ OData4::Service.new('http://services.odata.org/V4/OData/OData.svc', name: 'ODataDemo')
end
let(:subject) { OData4::EntitySet.new(options) }
let(:options) { {
container: 'DemoService', namespace: 'ODataDemo', name: 'Products',