Sha256: 8b4baf93c35893b242be53435f133f092b0ad8f680d02545fd9acb89fd4402fb

Contents?: true

Size: 752 Bytes

Versions: 91

Compression:

Stored size: 752 Bytes

Contents

require 'shoulda'
require 'shoulda/action_controller/matchers'
require 'shoulda/action_controller/macros'

module Test # :nodoc: all
  module Unit
    class TestCase
      include Shoulda::ActionController::Matchers
      extend Shoulda::ActionController::Macros
    end
  end
end

require 'shoulda/active_record/assertions'
require 'shoulda/action_mailer/assertions'

module ActionController #:nodoc: all
  module Integration
    class Session
      include Shoulda::Assertions
      include Shoulda::Helpers
      include Shoulda::ActiveRecord::Assertions
      include Shoulda::ActionMailer::Assertions
    end
  end
end

if defined?(ActionController::TestCase)
  class ActionController::TestCase
    def subject
      @controller
    end
  end
end

Version data entries

91 entries across 61 versions & 10 rubygems

Version Path
challah-0.5.4 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.5.3 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.5.2 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.3 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.5.1 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.5.0 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.4.1 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.4.0 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
challah-0.3.5 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb
faster_shoulda-2.11.4 lib/shoulda/action_controller.rb
challah-0.3.4 vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb