Skip to content

Instantly share code, notes, and snippets.

@manlycode
Created April 29, 2010 16:48
Show Gist options
  • Save manlycode/383870 to your computer and use it in GitHub Desktop.
Save manlycode/383870 to your computer and use it in GitHub Desktop.
# at the bottom of your spec helper
def tag_as_integration
unless ENV['INTEGRATION'] == 'true'
pending
end
end
# at the top level describe of a spec you want to exclude from normal execution
before do
tag_as_integration
end
#to run it
#>INTEGRATION=true rake spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment