Rakefile in rpub-0.4.0 vs Rakefile in rpub-0.5.0
- old
+ new
@@ -1,11 +1,16 @@
require 'bundler'
Bundler::GemHelper.install_tasks
Bundler.setup
-require 'rspec/core/rake_task'
desc 'Default: run specs.'
-task :default => :spec
+task :default => [:spec, :cucumber]
+require 'rspec/core/rake_task'
desc 'Run specs'
RSpec::Core::RakeTask.new
+
+require 'cucumber/rake/task'
+Cucumber::Rake::Task.new do |t|
+ t.cucumber_opts = '--format progress --tags ~@epubcheck'
+end