aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dummy/Rakefile')
m---------spec/dummy0
-rw-r--r--spec/dummy/Rakefile13
2 files changed, 13 insertions, 0 deletions
diff --git a/spec/dummy b/spec/dummy
deleted file mode 160000
-Subproject 36f851b7d5eca685475eb3a232e1d8dabfb1653
diff --git a/spec/dummy/Rakefile b/spec/dummy/Rakefile
new file mode 100644
index 0000000..852eb68
--- /dev/null
+++ b/spec/dummy/Rakefile
@@ -0,0 +1,13 @@
+#!/usr/bin/env rake
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+unless File.exist?(db_yml = File.expand_path('../config/database.yml', __FILE__))
+ require 'fileutils'
+ FileUtils.cp "#{db_yml}.sqlite3", db_yml
+ puts "Copied #{db_yml}.sqlite3 to #{db_yml}"
+end
+
+require File.expand_path('../config/application', __FILE__)
+
+Dummy::Application.load_tasks