fix most deprecations in the specs (still some left)
This commit is contained in:
parent
dd5872eecb
commit
de76b512c1
121 changed files with 859 additions and 856 deletions
|
@ -16,11 +16,11 @@ describe Enum do
|
|||
|
||||
describe ".valid?" do
|
||||
it "returns true if a key exists" do
|
||||
enum.valid?(:finn).should be_true
|
||||
enum.valid?(:finn).should == true
|
||||
end
|
||||
|
||||
it "returns false if a key does not exist" do
|
||||
enum.valid?(:obama).should be_false
|
||||
enum.valid?(:obama).should == false
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Reference in a new issue