spec/api/rhosync_api_spec.rb in rhosync-2.0.5 vs spec/api/rhosync_api_spec.rb in rhosync-2.0.6
- old
+ new
@@ -110,10 +110,10 @@
it "should list client attributes using direct api call" do
res = RhosyncApi::get_client_params('',@api_token,@c.id)
res.delete_if { |attrib| attrib['name'] == 'rho__id' }
res.sort{|x,y| x['name']<=>y['name']}.should == [
- {"name"=>"device_type", "value"=>"iPhone", "type"=>"string"},
+ {"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"=>"app_id", "value"=>"application", "type"=>"string"}].sort{|x,y| x['name']<=>y['name']}
end
\ No newline at end of file