Rakefile in extend_at-0.0.3 vs Rakefile in extend_at-0.1.0
- old
+ new
@@ -1,11 +1,22 @@
require "bundler/gem_tasks"
+require 'rake/testtask'
+require 'rspec'
+require 'rspec/core/rake_task'
+
+
+task :default => :spec
+task :test => :spec
+
+RSpec::Core::RakeTask.new(:spec) do
+ system "echo \"recreating database \" && cd #{File.join(File.dirname(__FILE__), 'spec', 'app')} && rake db:migrate:reset"
+end
\ No newline at end of file