From 2a7aca0b43bf16980e7b46952a29cf8b14ffbf21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Tufr=C3=B3?= Date: Tue, 3 Aug 2010 12:50:48 -0300 Subject: [PATCH] Removed old cucumber stuff. --- lib/tasks/cucumber.rake | 16 ---------------- script/cucumber | 8 -------- 2 files changed, 24 deletions(-) delete mode 100644 lib/tasks/cucumber.rake delete mode 100755 script/cucumber diff --git a/lib/tasks/cucumber.rake b/lib/tasks/cucumber.rake deleted file mode 100644 index f5ae35f..0000000 --- a/lib/tasks/cucumber.rake +++ /dev/null @@ -1,16 +0,0 @@ -$LOAD_PATH.unshift(RAILS_ROOT + '/vendor/plugins/cucumber/lib') if File.directory?(RAILS_ROOT + '/vendor/plugins/cucumber/lib') - -begin - require 'cucumber/rake/task' - - Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "--format pretty" - #t.rcov = true - end - task :features => 'db:test:prepare' -rescue LoadError - desc 'Cucumber rake task not available' - task :features do - abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin' - end -end diff --git a/script/cucumber b/script/cucumber deleted file mode 100755 index 7f2b6a3..0000000 --- a/script/cucumber +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/cucumber/bin/cucumber") -rescue LoadError => e - raise unless e.to_s =~ /cucumber/ - require "rubygems" - load File.join(Gem.bindir, "cucumber") -end \ No newline at end of file