test/unit/generator_test.rb in sprout-1.0.16.pre vs test/unit/generator_test.rb in sprout-1.0.17.pre

- old
+ new

@@ -30,11 +30,10 @@ @templates = File.join fixtures, 'generators', 'templates' @string_io = StringIO.new @generator = configure_generator FakeGenerator.new Sprout::Generator.register OtherFakeGenerator - FileUtils.mkdir_p @fixture end teardown do remove_file @fixture @@ -274,10 +273,10 @@ generator = Sprout::Generator.load :demo, 'unknown_file', '>= 1.0.pre' end end should "be loadable if it's in the load path" do - generator = Sprout::Generator.load :demo, 'temp_generator', '>= 1.0.pre' + generator = Sprout::Generator.load :application, 'temp_generator', '>= 1.0.pre' assert_not_nil generator generator.logger = StringIO.new generator.path = @path generator.input = 'SomeProject'