class RecordTagHelperTest
Public Instance Methods
setup()
click to toggle source
Calls superclass method
# File actionview/test/template/record_tag_helper_test.rb, line 21 def setup super @post = RecordTagPost.new end
test_content_tag_for()
click to toggle source
# File actionview/test/template/record_tag_helper_test.rb, line 26 def test_content_tag_for assert_raises(NoMethodError) { content_tag_for(:li, @post) } end
test_div_for()
click to toggle source
# File actionview/test/template/record_tag_helper_test.rb, line 30 def test_div_for assert_raises(NoMethodError) { div_for(@post, class: "special") } end