Sha256: 5a0cbe20fa28deb7a5245c0a402b15193ed63270bf4733e83457cd567858651b

Contents?: true

Size: 848 Bytes

Versions: 1

Compression:

Stored size: 848 Bytes

Contents

require "spec_helper"

describe IOSConfigProfile do
  context "@@root_domain" do
    after :all do
      IOSConfigProfile.root_domain = "com.cellabus"
    end

    it "has a root domain" do
      expect(IOSConfigProfile.root_domain).to eq "com.cellabus"
    end

    it "can set a root_domain" do
      example = "com.example"
      IOSConfigProfile.root_domain = example
      expect(IOSConfigProfile.root_domain).to eq example
    end
  end

  context "@@organization" do
    after :all do
      IOSConfigProfile.organization = "Cellabus, Inc."
    end

    it "has an organization" do
      expect(IOSConfigProfile.organization).to eq "Cellabus, Inc."
    end

    it "can set an organization" do
      example = "example"
      IOSConfigProfile.organization = example
      expect(IOSConfigProfile.organization).to eq example
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ios_config_profile-1.4.1 spec/base_spec.rb