Rakefile in interpreter-0.0.2 vs Rakefile in interpreter-0.0.3
- old
+ new
@@ -1,2 +1,16 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+
+task :default => "test:all"
+
+namespace :test do
+ desc "Run all cucumber features"
+ task :all do
+ system "cucumber test/dummy/features"
+ end
+
+ desc "Run bundle install and prepare database for tests"
+ task :prepare do
+ system "rake test:prepare -f test/dummy/Rakefile"
+ end
+end