appium/appium — pull request #2169 by DylanLacey (2014-03-25 12:23:08+00:00)
Title: Convert `device` to `platformName` when turning caps into arguments.

Altered `Device.setArgFromCap` to turn `device` into `platformName`.
Updated `IOS` device to use platformName instead of device.
Added test for `Device.setArgFromCap`.

I think this is the right place for these; rather then converting in IOS we should do it on the prototype object.

Closes #2149