From ad141bc5a2214580ec5071a5b5a8e60ad9ac9844 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Sun, 20 Feb 2011 01:17:28 -0800 Subject: [PATCH] rm -f the fixture builder yml file, to avoid the no-such-file warnings. --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 56f7bc72a..2d131fcf0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ include WebMock::API include HelperMethods # Force fixture rebuild -`rm #{File.join(Rails.root, 'tmp', 'fixture_builder.yml')}` +FileUtils.rm_f(File.join(Rails.root, 'tmp', 'fixture_builder.yml')) # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories.