lib/screengem/actor.rb in screengem-0.3.0 vs lib/screengem/actor.rb in screengem-0.4.0

- old
+ new

@@ -8,11 +8,11 @@ # The ability to remember and recall values is used to carry state forward from one # step definition to another (as the preferred alternative to instance variables). # # Action, question, and task instances (aka primitives) are configured with: # (1) a reference to the actor that is interacting with the primitive - # (2) a reference to the screen instance that hosts accessors to the page objects. + # (2) a reference to the screen instance that hosts accessors to the screen elements. # module Actor # # Used by an actor to ask one or more questions in a step definition. # @@ -79,9 +79,9 @@ def recollections @recollections ||= ActiveSupport::HashWithIndifferentAccess.new end def screen - Screengem::PageReferences.instance + Screengem::ScreenElements.instance end end end