spec/api-client/collection_spec.rb in api-client-2.3.0 vs spec/api-client/collection_spec.rb in api-client-2.4.0

- old
+ new

@@ -4,10 +4,10 @@ let(:user) { User.new } before :each do stub_request(:get, 'http://api.example.com/users').to_return(:body => [ { 'a' => 'b' }, { 'a' => 'b2' } ].to_json) User.stub(:new => user) - @collection = ApiClient::Collection.new(User, 'users') + @collection = ApiClient::Collection.new(User, :default, 'users') end it 'should include enumerable module' do @collection.should respond_to(:first) end \ No newline at end of file