spec/nyny_spec.rb in nyny-3.2.2 vs spec/nyny_spec.rb in nyny-3.3.0
- old
+ new
@@ -1,15 +1,15 @@
require 'spec_helper'
describe NYNY do
its 'root points to pwd' do
- NYNY.root.should == Dir.pwd
+ NYNY.root.should == Pathname.pwd
end
it 'has the correct env' do
NYNY.env.should be_test
end
its 'root can join a path' do
- NYNY.root.join("foo").should == File.join(Dir.pwd, "foo")
+ NYNY.root.join("foo").should == Pathname.pwd + "foo"
end
end