spec/spec_helper.rb in kosmos-0.0.1 vs spec/spec_helper.rb in kosmos-0.0.2.pre.test2
- old
+ new
@@ -13,9 +13,15 @@
class File
def self.absolute_path(file_name, dir_name = Dir.getwd)
RealFile.absolute_path(file_name, dir_name)
end
end
+
+ class Dir
+ def self.home
+ ""
+ end
+ end
end
RSpec.configure do |config|
config.color_enabled = true
end