Sha256: e4f248bee361f68c1c08b04b54cdcf39b891930046ae6882720b8869a5b8757d

Contents?: true

Size: 672 Bytes

Versions: 36

Compression:

Stored size: 672 Bytes

Contents

describe 'Constraints - orientation lookup' do

  it 'should return NSLayoutConstraintOrientationHorizontal' do
    MotionKit::Constraint.orientation_lookup(:horizontal).should == NSLayoutConstraintOrientationHorizontal
    MotionKit::Constraint.orientation_lookup(NSLayoutConstraintOrientationHorizontal).should == NSLayoutConstraintOrientationHorizontal
  end

  it 'should return NSLayoutConstraintOrientationVertical' do
    MotionKit::Constraint.orientation_lookup(:vertical).should == NSLayoutConstraintOrientationVertical
    MotionKit::Constraint.orientation_lookup(NSLayoutConstraintOrientationVertical).should == NSLayoutConstraintOrientationVertical
  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
motion-kit-1.1.1 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-1.1.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-1.0.3 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-1.0.2 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-1.0.1 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-1.0.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.18.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.17.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.16.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.15.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.14.2 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.14.1 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.14.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.13.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.12.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.11.2 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.11.1 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.11.0 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.10.11 spec/osx/constraints_helpers/orientation_lookup_spec.rb
motion-kit-0.10.10 spec/osx/constraints_helpers/orientation_lookup_spec.rb