Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #897 from kou/suppress-warnings

Suppress warnings
  • Loading branch information...
commit 67a78f4d442e868fe88a8fea64ad4d71c83e8ae8 2 parents 86e86c2 + cb8543f
@joliss joliss authored
View
1  lib/capybara/node/base.rb
@@ -31,6 +31,7 @@ class Base
def initialize(session, base)
@session = session
@base = base
+ @unsynchronized = false
end
# overridden in subclasses, e.g. Capybara::Node::Element
View
1  lib/capybara/selector.rb
@@ -21,6 +21,7 @@ def initialize(name, &block)
@name = name
@custom_filters = {}
@match = nil
+ @label = nil
@failure_message = nil
instance_eval(&block)
end
View
3  lib/capybara/session.rb
@@ -51,7 +51,10 @@ def initialize(mode, app=nil)
@app = app
if Capybara.run_server and @app and driver.needs_server?
@server = Capybara::Server.new(@app).boot
+ else
+ @server = nil
end
+ @touched = false
end
def driver
View
4 lib/capybara/spec/spec_helper.rb
@@ -46,8 +46,8 @@ def run_specs(session, name, options={})
after do
@session.reset_session!
end
- specs.each do |name, options, block|
- describe name, options do
+ specs.each do |spec_name, spec_options, block|
+ describe spec_name, spec_options do
class_eval(&block)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.