Sha256: 4c408fd656734f8b2abcb6a345d0e06bb6938c4e23bf6a992aa75da2d5ae7cc0

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 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 == true
  end

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ProMotion-0.5.2 spec/ios_version_spec.rb