Skip to content

Instantly share code, notes, and snippets.

@nordringrayhide
Forked from gutenye/gist:1300152
Created October 25, 2011 07:27
Show Gist options
  • Save nordringrayhide/1311710 to your computer and use it in GitHub Desktop.
Save nordringrayhide/1311710 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment