Sha256: 45eb15bc0ac36e0e58d3922075cd3433bfda21c80bbe33a09413b0830dcfdaba
Contents?: true
Size: 556 Bytes
Versions: 6
Compression:
Stored size: 556 Bytes
Contents
require 'spec_helper' module Commontator describe Commontator::ControllerIncludes do it 'must add commontator_thread_show to ActionController instances' do ActionController::Base.new.must_respond_to :commontator_thread_show DummyModelsController.new.must_respond_to :commontator_thread_show end it 'must add shared helper to ActionController and subclasses' do ActionController::Base.helpers.must_respond_to :commontator_thread DummyModelsController.helpers.must_respond_to :commontator_thread end end end
Version data entries
6 entries across 6 versions & 1 rubygems