Skip to content

Instantly share code, notes, and snippets.

@jmaicher
Created December 2, 2010 10:45
Show Gist options
  • Save jmaicher/725120 to your computer and use it in GitHub Desktop.
Save jmaicher/725120 to your computer and use it in GitHub Desktop.
Focus on working specs with tags and filters
# 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