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

- old
+ new

@@ -3,16 +3,16 @@ describe 'when building a C project' do include RakeBuilderHelper before( :all ) do - @test_output_file = Rake::Builder.expand_path_with_root( 'rake-c-testfile.txt', SPEC_PATH ) + @test_output_file = Rake::Path.expand_with_root( 'rake-c-testfile.txt', SPEC_PATH ) end before( :each ) do Rake::Task.clear @project = c_task( :executable ) - @expected_generated = Rake::Builder.expand_paths_with_root( [ './main.o', @project.makedepend_file, @project.target ], SPEC_PATH ) + @expected_generated = Rake::Path.expand_all_with_root( [ './main.o', @project.makedepend_file, @project.target ], SPEC_PATH ) `rm -f #{ @test_output_file }` `rm -f #{ @project.target }` end after( :each ) do