Sha256: 4405e092bfae8a4c56d0c330173fdb5a4fbaea20ce7feec5fdf7259f17c1807c
Contents?: true
Size: 425 Bytes
Versions: 9
Compression:
Stored size: 425 Bytes
Contents
require 'rspec' require 'spec_helper' describe 'ActionView' do it 'should include helper tag methods' do ActionView::Helpers::FormOptionsHelper.instance_methods.include?(:country_select).should be true ActionView::Helpers::FormBuilder.instance_methods.include?(:country_select).should be true end it 'fail test' do user = double("user") expect { country_select(user, :name)}.to raise_error end end
Version data entries
9 entries across 9 versions & 1 rubygems