Sha256: a5c3fd5c19912ee58ca6f204664a8179c7a2aa4fabf12868312676d8b5375e27
Contents?: true
Size: 632 Bytes
Versions: 10
Compression:
Stored size: 632 Bytes
Contents
module Zena module View class TestCase < ActionView::TestCase include Zena::Use::Fixtures include Zena::Use::TestHelper include Zena::Acts::Secure include ::Authlogic::TestCase setup :activate_authlogic def setup login :anon end def assert_css(match, target) target = Hpricot(target) assert !target.search(match).empty?, "expected tag, but no tag found matching #{match.inspect} in:\n#{target.inspect}" end def self.helper_attr(*args) # Ignore since we include helpers in the TestCase itself end end end end
Version data entries
10 entries across 10 versions & 1 rubygems