lib/marty_rspec/util.rb
#####
# note that netzke_find doesn't actually find the component (as in Capybara)
# instead, it prepares the javascript to be run on the component object
note that netzke_find doesn't actually find the component (as in Capybara)
instead, it prepares the javascript to be run on the component object
note that netzke_find doesn ' t actually find the component ( as in Capybara ) instead it prepares the javascript to be run on the component object
def netzke_find(name, c_type = 'gridpanel')
      case c_type
      when 'combobox'
        MartyRSpec::Components::NetzkeCombobox.new(name)
      else
        MartyRSpec::Components::NetzkeGrid.new(name, c_type)
      end
    end
def netzke_find ( name , c_type = 'gridpanel' ) case c_type when 'combobox' MartyRSpec :: Components :: NetzkeCombobox . new ( name ) else MartyRSpec :: Components :: NetzkeGrid . new ( name , c_type ) end end
note that netzke_find doesn't actually find the component (as in Capybara)
instead, it prepares the javascript to be run on the component object
note that netzke_find doesn ' t actually find the component ( as in Capybara ) instead it prepares the javascript to be run on the component object
name
<not_specific>
c_type
<not_specific>