Skip to content

Instantly share code, notes, and snippets.

@gutenye
Created October 20, 2011 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save gutenye/1300152 to your computer and use it in GitHub Desktop.
Save gutenye/1300152 to your computer and use it in GitHub Desktop.
disable suite and test in RSpec
# put this in spec_helper.rb
module Kernel
private
def xdescribe(*args, &blk)
describe *args do
pending "xxxxxxxxx"
end
end
def xcontext(*args, &blk)
context *args do
pending "xxxxxxxxx"
end
end
def xit(*args, &blk)
it *args do
pending "xxxxxxxx"
end
end
end
@gutenye
Copy link
Author

gutenye commented Oct 20, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment