flockup /test/shoulda_macros/flockup_view_macros.rb

Language Ruby Lines 8
MD5 Hash cba04dd309c530876bd1eb9dcae6363a
Repository https://github.com/technicalpickles/flockup.git View Raw File View Project SPDX
1
2
3
4
5
6
7
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
Back to Top