Sha256: ff7e7ff9ac0bb4957a3ea2edb03c24bf5e937449b8a34f56db70b0c41e52ac66
Contents?: true
Size: 389 Bytes
Versions: 14
Compression:
Stored size: 389 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class CommentsControllerTest < ActionController::TestCase def setup @comment = Comment.find 1 end context "with parent post" do should_be_restful do |resource| resource.formats = [:html] resource.parent = :post end end should_be_restful do |resource| resource.formats = [:html] end end
Version data entries
14 entries across 14 versions & 5 rubygems