Permalink
Browse files

Fix VersionConcern spec helper for Ruby18

  • Loading branch information...
1 parent 0921560 commit 916ec98cad41c6f837fb5e2e15efb33fceb81c1c @batter batter committed Dec 3, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/support/alt_db_init.rb
@@ -8,6 +8,7 @@
FileUtils.cp "#{db_directory}/test.sqlite3", "#{db_directory}/test-foo.sqlite3"
FileUtils.cp "#{db_directory}/test.sqlite3", "#{db_directory}/test-bar.sqlite3"
else
+ require 'ftools'
File.cp "#{db_directory}/test.sqlite3", "#{db_directory}/test-foo.sqlite3"
File.cp "#{db_directory}/test.sqlite3", "#{db_directory}/test-bar.sqlite3"
end

0 comments on commit 916ec98

Please sign in to comment.