Sha256: 4832256860890fe51db1ef3438317f7101e12608b2c6f7a621156d09facdb3dd
Contents?: true
Size: 350 Bytes
Versions: 11
Compression:
Stored size: 350 Bytes
Contents
require 'test_helper' class SomethingsControllerTest < ActionController::TestCase def setup @something = somethings :one end context "actions specified" do [:create, :edit, :update, :destroy, :new].each do |action| should "not respond to #{action}" do assert !@controller.respond_to?(action) end end end end
Version data entries
11 entries across 11 versions & 3 rubygems