Sha256: e386b3de8d787b86000327d5ba2202133943456015264cc7cb4c64e8ba4e7ccf
Contents?: true
Size: 541 Bytes
Versions: 30
Compression:
Stored size: 541 Bytes
Contents
require File.join(File.dirname(__FILE__),'api_helper') describe "RhosyncApiPushDeletes" do it_should_behave_like "ApiHelper" it "should delete object from :md" do data = {'1' => @product1, '2' => @product2, '3' => @product3} set_state(@s.docname(:md) => data) data.delete('2') post "/api/push_deletes", :api_token => @api_token, :user_id => @u.id, :source_id => @s_fields[:name], :objects => ['2'] last_response.should be_ok verify_result(@s.docname(:md) => data,@s.docname(:md_size)=>'2') end end
Version data entries
30 entries across 30 versions & 1 rubygems