aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/Rakefile
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-10 17:03:37 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-10 17:03:37 -0700
commit45d8663de5a58740ac6bcf6c18a377aeb6fa0cd5 (patch)
tree88fdedb8bd5e520f66b68d1bebf559c00cf1b23a /spec/dummy/Rakefile
parentcfba1b86d16da0a4e5c5c070f349974eb29807fe (diff)
downloadrefinerycms-blog-45d8663de5a58740ac6bcf6c18a377aeb6fa0cd5.tar.gz
refinerycms-blog-45d8663de5a58740ac6bcf6c18a377aeb6fa0cd5.tar.bz2
refinerycms-blog-45d8663de5a58740ac6bcf6c18a377aeb6fa0cd5.zip
Dummy app is no longer a submodule, now part of the projected - generated by testing generator
Remove remaining traces of cucumber
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