Rakefile in pomo-2.0.2 vs Rakefile in pomo-2.1.0
- old
+ new
@@ -1,8 +1,15 @@
+require 'cucumber/rake/task'
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
+require 'yard'
-desc 'Run specs'
-RSpec::Core::RakeTask.new do |t|
- t.verbose = false
- t.rspec_opts = '--color'
-end
+task :default => :test
+
+Cucumber::Rake::Task.new(:cucumber)
+
+RSpec::Core::RakeTask.new(:spec)
+
+YARD::Rake::YardocTask.new(:doc)
+
+desc 'Run tests, both RSpec and Cucumber'
+task :test => [:spec, :cucumber]