Sha256: a7fcf2f08ba59a3ca44c94530396b01b69a4e21770dbfc03590d464ad98e2164
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 Bytes
Contents
require 'test_helper' class ControllerTest < ActiveSupport::TestCase setup :set_instance test "should have not_found method" do assert @instance.respond_to?(:not_found) end test "should have forbidden method" do assert @instance.respond_to?(:forbidden) end test "should have redirect_with_flash method" do assert @instance.respond_to?(:redirect_with_flash) end test "should have flash_errors method" do assert @instance.respond_to?(:flash_errors) end protected def set_instance @instance = ApplicationController.new end end
Version data entries
6 entries across 6 versions & 1 rubygems