spec/generated_files_spec.rb in rake-builder-0.0.19 vs spec/generated_files_spec.rb in rake-builder-0.7.0
- old
+ new
@@ -24,16 +24,9 @@
it 'lists generated files, with a method' do
@project.generated_files.should =~ @expected_generated
end
- it 'lists generated files, via the task' do
- stdout, _ = capturing_output do
- Rake::Task[ 'generated_files' ].invoke
- end
- JSON.load(stdout). should =~ @expected_generated
- end
-
it 'removes generated files with \'clean\'' do
Rake::Task[ 'run' ].invoke
@expected_generated.each do |f|
exist?( f ).should be_true
end