spec/nfo_controller_spec.rb in royw-dvdprofiler2xbmc-0.0.12 vs spec/nfo_controller_spec.rb in royw-dvdprofiler2xbmc-0.0.13
- old
+ new
@@ -10,13 +10,17 @@
before(:all) do
logger = Log4r::Logger.new('dvdprofiler2xbmc')
logger.outputters = Log4r::StdoutOutputter.new(:console)
Log4r::Outputter[:console].formatter = Log4r::PatternFormatter.new(:pattern => "%m")
logger.level = Log4r::WARN
+
AppConfig.default
AppConfig[:logger] = logger
AppConfig.load
+
+ DvdprofilerProfile.collection_filespec = AppConfig[:collection_filespec]
File.mkdirs(TMPDIR)
+
AppConfig[:logger].warn { "\nNfoController Specs" }
end
before(:each) do
@media = Media.new(SAMPLES_DIR, 'The Egg and I.dummy')
\ No newline at end of file