Rakefile in ppl-1.23.0 vs Rakefile in ppl-1.24.0
- old
+ new
@@ -38,5 +38,11 @@
if File.exists? bkpconfig
FileUtils.mv bkpconfig, pplconfig
end
end
+task :feature, :feature_name do |task, params|
+ Rake::Task["disable_config"].invoke
+ system "bundle exec cucumber features/#{params[:feature_name]}.feature"
+ Rake::Task["enable_config"].invoke
+end
+