Skip to content
Browse files

Use SpecCoverage instead of ugly environment variables.

  • Loading branch information...
1 parent 71b9cf9 commit 5050123214064f58c7d711b4fecb281e75e289f7 @kevintuhumury kevintuhumury committed Mar 17, 2012
Showing with 1 addition and 15 deletions.
  1. +0 −10 Rakefile
  2. +1 −0 cameraplus.gemspec
  3. +0 −5 spec/spec_helper.rb
View
10 Rakefile
@@ -1,12 +1,2 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
-require "rspec/core/rake_task"
-
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
-
-task :cov do
- ENV["coverage"] = "true"
- Rake::Task[:spec].invoke
-end
View
1 cameraplus.gemspec
@@ -21,4 +21,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "rspec"
gem.add_development_dependency "webmock"
gem.add_development_dependency "simplecov"
+ gem.add_development_dependency "spec_coverage"
end
View
5 spec/spec_helper.rb
@@ -1,8 +1,3 @@
-if ENV["coverage"]
- require "simplecov"
- SimpleCov.start
-end
-
require "cameraplus"
require "vcr_config"

0 comments on commit 5050123

Please sign in to comment.
Something went wrong with that request. Please try again.