Import refactored library. See MIGRATING.MD for details
This commit is contained in:
1 parent
9b7809174d
commit
f584a2cec8
373 files changed
+255715
-474
No files matched your search
+2
-13
@@ -1,21 +1,10 @@
|
||||
require 'rake/clean'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
CLOBBER.include('coverage', 'specdoc')
|
||||
CLOBBER.include('coverage')
|
||||
|
||||
namespace :spec do
|
||||
RSpec::Core::RakeTask.new(:all) do |t|
|
||||
t.pattern = FileList['spec/**/*_spec.rb']
|
||||
t.rspec_opts = ['--color', '--format', 'documentation']
|
||||
end
|
||||
|
||||
desc 'Generate HTML Specdocs for all specs.'
|
||||
RSpec::Core::RakeTask.new(:specdoc) do |t|
|
||||
specdoc_path = File.expand_path('../../specdoc', __FILE__)
|
||||
|
||||
t.rspec_opts = %W( --format html --out #{File.join(specdoc_path, 'index.html')} )
|
||||
t.fail_on_error = false
|
||||
end
|
||||
RSpec::Core::RakeTask.new(:all)
|
||||
end
|
||||
|
||||
desc 'Alias to spec:all'
|
||||
|
||||
Reference in new issue
Block a user