Skip to content

Instantly share code, notes, and snippets.

@smtlaissezfaire
Created March 17, 2009 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smtlaissezfaire/80261 to your computer and use it in GitHub Desktop.
Save smtlaissezfaire/80261 to your computer and use it in GitHub Desktop.
it "should take an include_private flag" do
# this is a bug in rspec:
# @env.should respond_to(:method_missing, true) #=> fails
@env.respond_to?(:method_missing, true).should be_true # => succeeds
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment