Sha256: 86b12a113763287718307e26f8f1c416cd7a07d9e3aaf756964a886d6ff5f87b
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
# In rails 1.2, plugins aren't available in the path until they're loaded. # Check to see if the rspec plugin is installed first and require # it if it is. If not, use the gem version. rspec_base = File.expand_path(File.dirname(__FILE__) + '/../../rspec/lib') $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base) require 'spec/rake/spectask' namespace :spec do desc "Runs integration specs in spec/integration" Spec::Rake::SpecTask.new(:integration) do |t| t.spec_files = FileList["spec/integration/**/*_spec.rb"] end end
Version data entries
3 entries across 3 versions & 1 rubygems