Sha256: d0bbcd3d32185cedccd9a05e7d52481b960e2461cfa6d3978bb19ff25dd64148

Contents?: true

Size: 581 Bytes

Versions: 42

Compression:

Stored size: 581 Bytes

Contents

describe 'Constraints - axis lookup' do

  it 'should return UILayoutConstraintAxisHorizontal' do
    MotionKit::Constraint.axis_lookup(:horizontal).should == UILayoutConstraintAxisHorizontal
    MotionKit::Constraint.axis_lookup(UILayoutConstraintAxisHorizontal).should == UILayoutConstraintAxisHorizontal
  end

  it 'should return UILayoutConstraintAxisVertical' do
    MotionKit::Constraint.axis_lookup(:vertical).should == UILayoutConstraintAxisVertical
    MotionKit::Constraint.axis_lookup(UILayoutConstraintAxisVertical).should == UILayoutConstraintAxisVertical
  end

end

Version data entries

42 entries across 36 versions & 1 rubygems

Version Path
motion-kit-1.1.1 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.1.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.1.0 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.1.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.3 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.3 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.2 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.2 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.1 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.0 spec/tvos/constraints_helpers/axis_lookup_spec.rb
motion-kit-1.0.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.18.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.17.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.16.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.15.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.14.2 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.14.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.14.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.13.0 spec/ios/constraints_helpers/axis_lookup_spec.rb