Created
May 11, 2012 20:18
-
-
Save azizshamim/2662180 to your computer and use it in GitHub Desktop.
Starting a spec
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
--format documentation | |
--color |
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
task :default => [:spec] | |
desc "Run those specs" | |
task :spec do | |
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new do |t| | |
t.rspec_opts = ["-c", "-f documentation", "-r ./spec/spec_helper.rb"] | |
t.pattern = 'spec/**/*_spec.rb' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment