spec/hobo/lib/seed/project_spec.rb in hobo-inviqa-0.0.6 vs spec/hobo/lib/seed/project_spec.rb in hobo-inviqa-0.0.7.pre.rc1

- old
+ new

@@ -1,7 +1,6 @@ require 'spec_helper' -require 'hobo' describe Hobo::Lib::Seed::Project do pwd = nil tmp_dir = nil default_config = {} @@ -10,11 +9,11 @@ tmp_dir = Dir.mktmpdir pwd = Dir.pwd Dir.chdir tmp_dir FileUtils.mkdir_p "project_path" FileUtils.touch "project_path/test" - Hobo.ui = Hobo::Ui.new + Hobo.ui = double(Hobo::Ui).as_null_object default_config = { :config_class => double(Hobo::Config::File).as_null_object, :replacer => double(Hobo::Lib::Seed::Replacer.new).as_null_object } end @@ -77,6 +76,6 @@ it "should remove seed init file" it "should set hostname in config" it "should set asset bucket in config" end -end \ No newline at end of file +end