require 'spec_helper' describe NYNY do its 'root points to pwd' do NYNY.root.should == Dir.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") end end