Created
June 13, 2014 07:06
-
-
Save pinzolo/2f484a9902e97533a8e2 to your computer and use it in GitHub Desktop.
-cfs option is invalid from RSpec3
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
#!/usr/bin/env rake | |
require "bundler/gem_tasks" | |
task :default => [:spec] | |
begin | |
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new(:spec) do |spec| | |
spec.pattern = 'spec/**/*_spec.rb' | |
spec.rspec_opts = ['-cfs'] # ← ココ!! | |
end | |
rescue LoadError => e | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment