mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
d223d542f7
We have too many top level files, we have multiple classes in the same file. This allows us to solve both problems, while also providing a good place for the new Capybara::Node::Simple (formerly Capybara::StringNode)
16 lines
358 B
Ruby
16 lines
358 B
Ruby
require 'rubygems'
|
|
require 'rspec/core/rake_task'
|
|
require 'yard'
|
|
|
|
desc "Run all examples"
|
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
#t.rspec_path = 'bin/rspec'
|
|
t.rspec_opts = %w[--color]
|
|
end
|
|
|
|
YARD::Rake::YardocTask.new do |t|
|
|
t.files = ['lib/**/*.rb', 'README.rdoc']
|
|
#t.options = ['--any', '--extra', '--opts'] # optional
|
|
end
|
|
|
|
task :default => :spec
|