Created
October 28, 2013 15:29
-
-
Save pkqk/7198891 to your computer and use it in GitHub Desktop.
how to do an rspec, put your specs in spec/*_spec.rb and put this in your Rakefile then you can `rake spec` to run them
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(:spec) do |task| | |
task.pattern = "spec/**/*_spec.rb" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment