Permalink
Browse files

Sensible #inspect for Capybara::Session. Fixes #374

  • Loading branch information...
joliss committed Jul 20, 2011
1 parent b0dbaf8 commit 4fc07dbdc8146bb7ea6039779af6b0fef2196abb
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/capybara/session.rb
View
@@ -295,6 +295,10 @@ def #{method}(*args, &block)
RUBY
end
+ def inspect
+ %(#<Capybara::Session>)
+ end
+
private
def current_node

0 comments on commit 4fc07db

Please sign in to comment.