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.12.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.11.2 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.11.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.11.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.11 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.10 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.9 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.8 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.7 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.6 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.5 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.4 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.3 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.2 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.1 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.10.0 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.9.6 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.9.4 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.9.3 spec/ios/constraints_helpers/axis_lookup_spec.rb
motion-kit-0.9.2 spec/ios/constraints_helpers/axis_lookup_spec.rb