lib/howitzer/web/base_section.rb in howitzer-2.0.0 vs lib/howitzer/web/base_section.rb in howitzer-2.0.1
- old
+ new
@@ -5,23 +5,23 @@
module Howitzer
module Web
# This class holds base functinality for sections
class BaseSection
- include CapybaraMethodsProxy
include ElementDsl
include SectionDsl
include IframeDsl
+ include CapybaraMethodsProxy
- attr_reader :parent, :capybara_context
+ attr_reader :parent
class << self
attr_reader :default_finder_args
end
def initialize(parent, context)
@parent = parent
- @capybara_context = context
+ capybara_scopes << context
end
end
end
end