mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
19e1ffc084
Use rspec2's metadata features to skip celerity specs when run in MRI and culerity specs when jruby is not installed.
13 lines
289 B
Ruby
13 lines
289 B
Ruby
require 'rubygems'
|
|
require 'rspec/core/rake_task'
|
|
require 'yard'
|
|
|
|
desc "Run all examples"
|
|
RSpec::Core::RakeTask.new('spec')
|
|
|
|
YARD::Rake::YardocTask.new do |t|
|
|
t.files = ['lib/**/*.rb', 'README.rdoc']
|
|
#t.options = ['--any', '--extra', '--opts'] # optional
|
|
end
|
|
|
|
task :default => :spec
|