Sha256: 69fd03731488b0bc68f9755c998fb11c7dc3e7ba79f652924918b94d2636baef
Contents?: true
Size: 427 Bytes
Versions: 37
Compression:
Stored size: 427 Bytes
Contents
require 'test_helper' module PushType class AuthenticationMethodsTest < ActiveSupport::TestCase subject { PushType::AdminController.new } let :before_filters do subject._process_action_callbacks.find_all { |x| x.kind == :before }.map(&:filter) end it { subject.methods.include?(:authenticate_user!).must_equal true } it { before_filters.include?(:authenticate_user!).must_equal true } end end
Version data entries
37 entries across 37 versions & 1 rubygems