forked from kevintuhumury/cameraplus
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SpecCoverage instead of ugly environment variables.
- Loading branch information
1 parent
71b9cf9
commit 5050123
Showing
3 changed files
with
1 addition
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
if ENV["coverage"] | ||
require "simplecov" | ||
SimpleCov.start | ||
end | ||
|
||
require "cameraplus" | ||
require "vcr_config" | ||
|
||
|