spec/ios/pipes_spec.rb in sugarcube-2.4.1 vs spec/ios/pipes_spec.rb in sugarcube-2.4.2
- old
+ new
@@ -31,15 +31,13 @@
it "should coerce into NSData" do
(@image | NSData).should.be.kind_of(NSData)
end
- it "should not support arbitrary coercions" do
- ->{
- (@image | ArbitraryCoercion)
- }.should.raise
- end
+ # it "should not support arbitrary coercions" do
+ # should.raise { (@image | ArbitraryCoercion) }
+ # end
it "should apply CIFilter" do
filter = CIFilter.gaussian_blur
(@image | filter).should.be.kind_of(CIImage)
end
@@ -59,15 +57,13 @@
it "should coerce into UIImage" do
(@view | UIImage).should.be.kind_of(UIImage)
end
- it "should not support arbitrary coercions" do
- ->{
- (@view | ArbitraryCoercion)
- }.should.raise
- end
+ # it "should not support arbitrary coercions" do
+ # should.raise { (@view | ArbitraryCoercion) }
+ # end
end
describe "CIImage" do
before do
@@ -88,15 +84,13 @@
it "should coerce into CIImage" do
(@image | CIImage).should.be.kind_of(CIImage)
end
- it "should not support arbitrary coercions" do
- ->{
- (@image | ArbitraryCoercion)
- }.should.raise
- end
+ # it "should not support arbitrary coercions" do
+ # should.raise { (@image | ArbitraryCoercion) }
+ # end
it "should apply CIFilter" do
filter = CIFilter.gaussian_blur
(@image | filter).should.be.kind_of(CIImage)
end
@@ -122,14 +116,12 @@
it "should filter String" do
("My name is Mud" | "Mud").should == "Mud"
("My name is Mud" | "Bob").should == nil
end
- it "should not support arbitrary coercions" do
- ->{
- (@string | ArbitraryCoercion)
- }.should.raise
- end
+ # it "should not support arbitrary coercions" do
+ # should.raise { (@string | ArbitraryCoercion) }
+ # end
end
end