spec/spec_helper.rb in rhodes-0.1.2 vs spec/spec_helper.rb in rhodes-0.1.3
- old
+ new
@@ -19,10 +19,10 @@
before(:all) do
FileUtils.mkdir_p('build')
FileUtils.cp_r('spec/syncdbtest.sqlite','build/syncdbtest.sqlite')
Object::const_set("SYNC_DB_FILE", "../../build/syncdbtest.sqlite") unless defined? SYNC_DB_FILE
- @rho = Rho::RHO.new(File.dirname(__FILE__) + "/../../../apps/")
+ @rho = Rho::RHO.new(File.join(File.dirname(File.expand_path(__FILE__)), '../../../apps/app_manifest.txt'))
@rhom = Rhom::RhomObjectFactory.new
end
after(:all) do
FileUtils.rm_rf('build')
\ No newline at end of file