Sha256: 90f4b91458c06c6bc6277d05c2b26547b78d7b68b830238419330da35f570928

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

require 'device'

RSpec.describe XCodeBuildHelper::Device do
  context "Setter methods" do
    before(:each) do
      @device = XCodeBuildHelper::Device.new
    end

    it "should set the platform name" do
      @device.platform "PLATFORM"
      expect(@device.get_platform).to eq "PLATFORM"
    end

    it "should set the name" do
      @device.name "NAME"
      expect(@device.get_name).to eq "NAME"
    end

    it "should set the name" do
      @device.os "9.2"
      expect(@device.get_os).to eq "9.2"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xcodebuild-helper-1.2.5 spec/device_spec.rb
xcodebuild-helper-1.2.3 spec/device_spec.rb
xcodebuild-helper-1.1.1 spec/device_spec.rb
xcodebuild-helper-1.1.0 spec/device_spec.rb
xcodebuild-helper-1.0.0 spec/device_spec.rb