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-0.9.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.9.0 spec/ios/constraints_helpers/axis_lookup_spec.rb