spec/generated_files_spec.rb in rake-builder-0.0.10 vs spec/generated_files_spec.rb in rake-builder-0.0.11

- old
+ new

@@ -5,11 +5,11 @@ include RakeBuilderHelper before( :each ) do Rake::Task.clear @project = cpp_task( :executable ) - @expected_generated = Rake::Builder.expand_paths_with_root( + @expected_generated = Rake::Path.expand_all_with_root( [ 'main.o', 'rake-builder-testfile.txt', @project.makedepend_file, @project.target ], @@ -48,10 +48,10 @@ include RakeBuilderHelper before( :each ) do @file = 'foobar.txt' - @file_with_path = Rake::Builder.expand_path_with_root( @file, SPEC_PATH ) + @file_with_path = Rake::Path.expand_with_root( @file, SPEC_PATH ) end it 'includes added files' do @project = cpp_task( :executable ) do |app| app.generated_files << @file_with_path