spec/ios/layer_layout_spec.rb in motion-kit-0.11.2 vs spec/ios/layer_layout_spec.rb in motion-kit-0.12.0
- old
+ new
@@ -1,8 +1,8 @@
-describe TestLayerLayout do
+describe TestLayerHelpers do
before do
- @subject = TestLayerLayout.new
+ @subject = TestLayerHelpers.new
end
it 'should create a CALayer root' do
@subject.view.should.be.kind_of(CALayer)
end
@@ -11,10 +11,10 @@
@subject.view.sublayers.length.should == 3
end
describe 'should have styled sublayers' do
before do
- @subject = TestLayerLayout.new
+ @subject = TestLayerHelpers.new
end
it 'should have a CALayer' do
@subject.view.sublayers[0].opacity.should == 0.5
@subject.view.sublayers[0].backgroundColor.should.not == nil