users/user.rb
# andrew: I included the page_builder as a read only class variable. Is there a better way
#         of going about this? Got confused when adding the 'add home' functionality
I included the page_builder as a read only class variable. Is there a better way
of going about this. Got confused when adding the 'add home' functionality
I included the page_builder as a read only class variable . Is there a better way of going about this . Got confused when adding the ' add home ' functionality
def login
        puts "user #{self.to_s} is trying to log into #{@page_builder.url}"
        login_page = @page_builder.login_page
        @current_page = login_page 
        login_page.enter_username @username
        login_page.enter_password @password
        login_page.submit_form
        puts "login complete"
    end
def login puts "user #{self.to_s} is trying to log into #{@page_builder.url}" login_page = @page_builder . login_page @current_page = login_page login_page . enter_username @username login_page . enter_password @password login_page . submit_form puts "login complete" end
andrew: I included the page_builder as a read only class variable.
andrew : I included the page_builder as a read only class variable .
#  sleep(3)