Sha256: b393586fa238a3634045758057e5d076e62f2e4d43f69bef588d9fa157525edd

Contents?: true

Size: 916 Bytes

Versions: 1

Compression:

Stored size: 916 Bytes

Contents

require 'shoulda'
require 'shoulda/controller/helpers'
require 'shoulda/controller/resource_options'
require 'shoulda/controller/macros'
require 'shoulda/controller/routing'

module Test # :nodoc: all
  module Unit
    class TestCase
      extend ThoughtBot::Shoulda::Controller::Macros
      include ThoughtBot::Shoulda::Controller::Helpers
      ThoughtBot::Shoulda::Controller::VALID_FORMATS.each do |format|
        include "ThoughtBot::Shoulda::Controller::#{format.to_s.upcase}".constantize
      end
    end
  end
end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
technicalpickles-shoulda-2.0.0 lib/shoulda/controller.rb