Sha256: f94a95385217d2e260b75f4d9377610ab792fc297114bbbe40742f8008d56b37

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

module RubyApp
  
  module Elements
  
    module Pages
      
      module TestPages
        require 'rubyapp/elements/page'

        class BaseTestPage < RubyApp::Elements::Page
  
          template_path(__FILE__)
  
          def initialize
            super
      
            require 'rubyapp/elements/navigation/page_menu'
            require 'rubyapp/elements/pages/test_pages/breadcrumbs_test_page'
            require 'rubyapp/elements/pages/test_pages/exception_test_page'
            require 'rubyapp/elements/pages/test_pages/input_test_page'
            require 'rubyapp/elements/pages/test_pages/list_test_page'
            require 'rubyapp/elements/pages/test_pages/content_test_page'

            @menu = RubyApp::Elements::Navigation::PageMenu.new
            @menu.pages << RubyApp::Elements::Pages::TestPages::ExceptionTestPage
            @menu.pages << RubyApp::Elements::Pages::TestPages::BreadcrumbsTestPage
            @menu.pages << RubyApp::Elements::Pages::TestPages::InputTestPage
            @menu.pages << RubyApp::Elements::Pages::TestPages::ListTestPage
            @menu.pages << RubyApp::Elements::Pages::TestPages::ContentTestPage

          end
    
        end

      end

    end

  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
_rubyapp-0.0.3 lib/rubyapp/elements/pages/test_pages/base_test_page.rb