Rakefile in firefly-1.4.1 vs Rakefile in firefly-1.5.0
- old
+ new
@@ -1,18 +1,9 @@
require 'bundler'
Bundler::GemHelper.install_tasks
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
-end
+task :default => :spec
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
+desc "Run all specs"
+task "spec" do
+ exec "bundle exec rspec spec"
end
-
-task :spec
-
-task :default => :spec