appfolio / ae_page_objects

Page Objects for Capybara
MIT License
28 stars 9 forks source link

DSL should define methods that maintain the method visibility of the declaration #131

Open rmacklin opened 9 years ago

rmacklin commented 9 years ago

For example,

class Thing < AePageObjects::Element
  #...
private
  element :foo
end

should define foo as a private method.