spec/char_set_spec.rb in chars-0.1.0 vs spec/char_set_spec.rb in chars-0.1.1
- old
+ new
@@ -178,9 +178,9 @@
"CCCCCC"
]
end
it "should determine if a String is made up of the characters from the char set" do
- (@char_set =~ "AABCBAA").should == true
- (@char_set =~ "AADDEE").should_not == true
+ (@char_set === "AABCBAA").should == true
+ (@char_set === "AADDEE").should_not == true
end
end