Sha256: 6a78faaaedb730a48cd4269a5f4e75f7afa061890ec7138bba10d8dc756a4e4d

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../lib/cello')

module StaticPages
  module Site
    class ResponsePage < Cello::Structure::Page
      element :text,  :text_field, :id => 'new_element'
      
      def get_url
        'file://' + File.dirname(__FILE__) + '/../site/read_page.html'
      end

      def initialize(teste)
        super(teste)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cello-0.0.19 features/pages/response_page.rb
cello-0.0.17 features/pages/response_page.rb
cello-0.0.16 features/pages/response_page.rb