The pwd tests fail on Mac when running rake test. I will work on a change to take this into account. On Mac (atleast anything above Mac OS 9.x as far as I know) /tmp is hardlinked to /private/tmp
describe "Path" do
describe ".pwd" do
it "returns the current dir" do
Dir.chdir('/tmp') do
FPM::Cookery::Path.pwd.to_s.must_equal '/tmp'
end
end
it "adds the given path to the current dir" do
Dir.chdir('/tmp') do
FPM::Cookery::Path.pwd('foo').to_s.must_equal '/tmp/foo'
end
end
end
The pwd tests fail on Mac when running rake test. I will work on a change to take this into account. On Mac (atleast anything above Mac OS 9.x as far as I know) /tmp is hardlinked to /private/tmp
Here is me testing this from irb