From 45d8663de5a58740ac6bcf6c18a377aeb6fa0cd5 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Wed, 10 Aug 2011 17:03:37 -0700 Subject: Dummy app is no longer a submodule, now part of the projected - generated by testing generator Remove remaining traces of cucumber --- spec/dummy | 1 - spec/dummy/Rakefile | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) delete mode 160000 spec/dummy create mode 100644 spec/dummy/Rakefile (limited to 'spec/dummy/Rakefile') diff --git a/spec/dummy b/spec/dummy deleted file mode 160000 index 36f851b..0000000 --- a/spec/dummy +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 36f851b7d5eca685475eb3a232e1d8dabfb1653a 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 -- cgit v1.2.3