spec/helpers/form/field_helper_spec.rb in bh-1.0.0 vs spec/helpers/form/field_helper_spec.rb in bh-1.0.1

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' require 'bh/helpers/form_for_helper' include Bh::FormForHelper def self.field_helpers_to_test - types = %w(email file number password phone search telephone text url) + types = %w(email number password phone search telephone text url) if defined?(ActionView::VERSION) # only defined in ActionView >=4 # types.concat %w(color date datetime datetime_local month time week) end types.map{|type| "#{type}_field"} << "text_area" end \ No newline at end of file