Created
August 17, 2016 03:57
-
-
Save myronmarston/37b74e2551007dee75a21a79cc3d5a9c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new(:specs_prep) do |t| | |
t.rspec_opts = "--out tmp/specs_task.out" | |
end | |
task :specs => :specs_prep do | |
results = File.read("tmp/specs_task.out") | |
# do something with results | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment