spec/cuboid/option_groups/paths_spec.rb in cuboid-0.2.7 vs spec/cuboid/option_groups/paths_spec.rb in cuboid-0.2.8
- old
+ new
@@ -18,10 +18,10 @@
%w(root logs reports lib support mixins snapshots).each do |method|
describe "##{method}" do
it 'points to an existing directory' do
- expect(File.exists?( subject.send method )).to be_truthy
+ expect(File.exist?( subject.send method )).to be_truthy
end
end
describe "##{method}=" do
context 'when the path is missing a slash in the end' do