I don't know if this file is obsolete yet but currently it gets executed if
you do rake test.
The following test in this file fails if neither HOME or LOGDIR are set in
the environment:
describe "Dir#chdir" do
it "changes the current directory to HOME or LOGDIR if set" do
Dir.chdir
#should_raise(ArgumentError) { Dir.chdir } -- works correctly today
end
...
It looks like this used to raise the ArgumentError (correctly) but then
perhaps whoever was running the tests added in a HOME item to their
environment and it broke the test.
So really the test should check to see if the environment variable has been
set before calling Dir.chdir. But I expect that this test is going to be
very obsolete once the full RSpecs are up and running.
Pete
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core