spec/tests/Ask.rb in Checked-2.0.2 vs spec/tests/Ask.rb in Checked-3.0.0
- old
+ new
@@ -18,20 +18,20 @@
.should.be == false
end
end # === describe Ask :includes
-describe "array! :exclude?" do
+describe "array! :exclude_all?" do
behaves_like :racked_dsl
it "returns true if array excludes element." do
- Array!([:a]).exclude?(:b)
+ Array!([:a]).exclude_all?(:b)
.should.be == true
end
it "returns false if array does contains element" do
- Array!([:a]).exclude?(:a)
+ Array!([:a]).exclude_all?(:a)
.should.be == false
end
end # === describe Ask :exclude