spec/search-root.rb in valise-1.1.4 vs spec/search-root.rb in valise-1.2.0
- old
+ new
@@ -13,12 +13,12 @@
let :search_root do
Valise::SearchRoot.new("test")
end
it "should find a file in the root" do
- search_root.present?(%w{file}).should be_true
+ expect(search_root.present?(%w{file})).to eq true
end
it "should raise PathNotInRoot if path isn't in root" do
- search_root.present?(%w{nothere}).should be_false
+ expect(search_root.present?(%w{nothere})).to eq false
end
end