spec/api/rhosync_api_spec.rb in rhosync-2.1.6 vs spec/api/rhosync_api_spec.rb in rhosync-2.1.7
- old
+ new
@@ -125,9 +125,10 @@
res.sort{|x,y| x['name']<=>y['name']}.should == [
{"name"=>"device_type", "value"=>"Apple", "type"=>"string"},
{"name"=>"device_pin", "value"=>"abcd", "type"=>"string"},
{"name"=>"device_port", "value"=>"3333", "type"=>"string"},
{"name"=>"user_id", "value"=>"testuser", "type"=>"string"},
+ {"name"=>"phone_id", "value"=>nil, "type"=>"string"},
{"name"=>"app_id", "value"=>"application", "type"=>"string"}].sort{|x,y| x['name']<=>y['name']}
end
it "should list client attributes using rest call" do
res = mock('HttpResponse')
\ No newline at end of file