require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.ruby_opts << '-rubygems' spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) task default: [:spec, :features]