test/unit/generator_test.rb in sprout-1.0.20.pre vs test/unit/generator_test.rb in sprout-1.0.22.pre
- old
+ new
@@ -101,9 +101,10 @@
assert !File.exists?(File.join(@fixture, 'some_project')), "Shouldn't leave half-generated files around"
end
should "notify user of all files created" do
@generator.input = 'some_project'
+ @string_io.expects(:puts).with('Skipped existing: .')
@string_io.expects(:puts).with('Created directory: ./some_project')
@string_io.expects(:puts).with('Created file: ./some_project/SomeFile')
@string_io.expects(:puts).with('Created file: ./some_project/SomeOtherFile')
@string_io.expects(:puts).with('Created directory: ./some_project/src')
@string_io.expects(:puts).with('Created file: ./some_project/src/SomeProject.as')