We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a3e37 commit c7f18a0Copy full SHA for c7f18a0
Rakefile
@@ -15,18 +15,12 @@ rescue LoadError
15
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
16
end
17
18
-require 'spec/rake/spectask'
19
-Spec::Rake::SpecTask.new(:spec) do |spec|
20
- spec.libs << 'lib' << 'spec'
21
- spec.spec_files = FileList['spec/**/*_spec.rb']
22
-end
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
23
24
-Spec::Rake::SpecTask.new(:rcov) do |spec|
25
+RSpec::Core::RakeTask.new(:rcov) do |spec|
26
spec.pattern = 'spec/**/*_spec.rb'
27
spec.rcov = true
28
29
30
-#task :spec => :check_dependencies
31
-
32
task :default => :spec
0 commit comments