Sha256: 574f6ad812b2d6c9b71ec605c0fe81e7752cafcea3818b5cb26ea3071cc01a0c

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

require "spec_helper"

describe IOSConfigProfile::SetDeviceNamePayload do
  subject { IOSConfigProfile::SetDeviceNamePayload }

  describe "#initialize" do
    it "has an Settings payload" do
      payload = subject.new("asdf")
      expect(payload["RequestType"]).to eq "Settings"
      expect(payload["Settings"][0]["Item"]).to eq "DeviceName"
      expect(payload["Settings"][0]["DeviceName"]).to eq "asdf"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ios_config_profile-1.4.1 spec/device/set_device_name_payload_spec.rb
ios_config_profile-1.4.0 spec/device/set_device_name_payload_spec.rb
ios_config_profile-1.3.0 spec/device/set_device_name_payload_spec.rb