Module: Erb::RailsForm::ContentMatchers::OptionHelpers

Included in:
Erb::RailsForm::ContentMatchers
Defined in:
lib/forms-spec/erb/matchers/rails_view/helpers/options.rb

Class Method Summary collapse

Class Method Details

.name_options_methodsObject



17
18
19
# File 'lib/forms-spec/erb/matchers/rails_view/helpers/options.rb', line 17

def self.name_options_methods       
  [ :collection_select, :grouped_collection_select, :select, :time_zone_select ]
end

.options_methodsObject



4
5
6
7
# File 'lib/forms-spec/erb/matchers/rails_view/helpers/options.rb', line 4

def self.options_methods
  [ :grouped_collection_select, :option_groups_from_collection_for_select, :option_groups_from_collection_for_select, 
    :options_from_collection_for_select, :time_zone_options_for_select ]
end