Sha256: aef9c638697e5278236e1e5a4194f46b9b002fd7c2f8fc11f0333f43cc8f8529

Contents?: true

Size: 614 Bytes

Versions: 14

Compression:

Stored size: 614 Bytes

Contents

describe "ios version" do

  before do
    @dummy = DummyClass.new
    @dummy.extend ProMotion::SystemHelper
  end

  it "#ios_version_is?" do
    @dummy.ios_version_is?(@dummy.ios_version).should.be.true
  end

  it "#ios_version_greater?" do
    @dummy.ios_version_greater?('1.0').should.be.true
  end

  it "#ios_version_greater_eq?" do
    @dummy.ios_version_greater_eq?(@dummy.ios_version).should.be.true
  end

  it "#ios_version_less?" do
    @dummy.ios_version_less?('9.0').should.be.true
  end

  it "#ios_version_less_eq?" do
    @dummy.ios_version_less_eq?(@dummy.ios_version).should.be.true
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ProMotion-0.7.8 spec/unit/ios_version_spec.rb
ProMotion-0.7.6 spec/unit/ios_version_spec.rb
ProMotion-0.7.5 spec/unit/ios_version_spec.rb
ProMotion-0.7.4 spec/unit/ios_version_spec.rb
ProMotion-0.7.3 spec/unit/ios_version_spec.rb
ProMotion-0.7.2 spec/unit/ios_version_spec.rb
ProMotion-0.7.1 spec/unit/ios_version_spec.rb
ProMotion-0.7.0 spec/unit/ios_version_spec.rb
ProMotion-0.6.5 spec/ios_version_spec.rb
ProMotion-0.6.4 spec/ios_version_spec.rb
ProMotion-0.6.3 spec/ios_version_spec.rb
ProMotion-0.6.2 spec/ios_version_spec.rb
ProMotion-0.6.1 spec/ios_version_spec.rb
ProMotion-0.6.0 spec/ios_version_spec.rb