Rakefile in hookercookerman-amee-0.1.2 vs Rakefile in hookercookerman-amee-0.1.3

- old
+ new

@@ -23,5 +23,18 @@ require 'newgem/tasks' # load /tasks/*.rake Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # task :default => [:spec, :features] +require 'cucumber/rake/task' + +namespace :features do + Cucumber::Rake::Task.new(:all) do |t| + t.cucumber_opts = "--format pretty" + end + + Cucumber::Rake::Task.new(:rcov) do |t| + t.rcov = true + t.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/} + t.rcov_opts << %[-o "features_rcov"] + end +end