Permalink
Browse files

App is optional

  • Loading branch information...
jnicklas committed Mar 12, 2010
1 parent d298f4d commit 0e6836f54827d0af638bac88167314cfbbcfe77c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capybara/session.rb
View
@@ -15,7 +15,7 @@ class Session
attr_reader :mode, :app
- def initialize(mode, app)
+ def initialize(mode, app=nil)
@mode = mode
@app = app
end

0 comments on commit 0e6836f

Please sign in to comment.