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