/test/shoulda_macros/flockup_view_macros.rb
https://github.com/technicalpickles/flockup · Ruby · 7 lines · 7 code · 0 blank · 0 comment · 0 complexity · cba04dd309c530876bd1eb9dcae6363a MD5 · raw file
- Test::Unit::TestCase.class_eval do
- def self.should_have_search_form
- should_have_form_for 'searches_path' do
- assert_select "input[name='q']"
- end
- end
- end