PageRenderTime 562ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): GPL-2.0
  1. Test::Unit::TestCase.class_eval do
  2. def self.should_have_search_form
  3. should_have_form_for 'searches_path' do
  4. assert_select "input[name='q']"
  5. end
  6. end
  7. end