lib/cello/pageobjects/page.rb in cello-0.0.23 vs lib/cello/pageobjects/page.rb in cello-0.0.25

- old
+ new

@@ -5,20 +5,20 @@ module PageObjects class Page extend Cello::PageObjects::ElementHelper attr_reader :engine + MESS = "SYSTEM ERROR: method missing" + def initialize(engine) @engine = engine end def visit - @engine.goto @@url + @engine.goto url end - def self.url(url) - @@url = url - end + def url; raise MESS; end end end end