Created
December 2, 2010 10:45
-
-
Save jmaicher/725120 to your computer and use it in GitHub Desktop.
Focus on working specs with tags and filters
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
# within spec_helpers.rb | |
RSpec.configure do |config| | |
config.filter_run :focus => true | |
end | |
# within specs | |
describe "GET 'some_action'", :focus => true do | |
it "should be successful" do | |
get :some_action | |
response.should be_success | |
end | |
end # GET 'some_action' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment