Sha256: 1d4e70896d710e514e2dc32573ab5b82a8d652762dbcb90d994cb213b848dc1d

Contents?: true

Size: 879 Bytes

Versions: 47

Compression:

Stored size: 879 Bytes

Contents

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

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

47 entries across 47 versions & 11 rubygems

Version Path
emschwar-shoulda-2.0.6.1 lib/shoulda/controller.rb
francois-shoulda-2.0.5.1 lib/shoulda/controller.rb
francois-shoulda-2.0.5.2 lib/shoulda/controller.rb
francois-shoulda-2.0.5.4 lib/shoulda/controller.rb
gsterndale-warrant-0.2.0 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.6/lib/shoulda/controller.rb
gsterndale-warrant-0.3.0 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.6/lib/shoulda/controller.rb
hashrocket-clearance-0.4.0 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
hashrocket-clearance-0.4.1 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
hashrocket-clearance-0.4.2 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
hashrocket-clearance-0.4.3 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
mattknox-goaloc-0.3.0 lib/goaloc/generators/resources/shoulda/lib/shoulda/controller.rb
mattknox-goaloc-0.4.0 lib/goaloc/generators/resources/shoulda/lib/shoulda/controller.rb
mjankowski-shoulda-2.0.4 lib/shoulda/controller.rb
mjankowski-shoulda-2.0.5 lib/shoulda/controller.rb
rmm5t-shoulda-2.0.2 lib/shoulda/controller.rb
rmm5t-shoulda-2.0.5 lib/shoulda/controller.rb
rmm5t-shoulda-2.0.6 lib/shoulda/controller.rb
technicalpickles-shoulda-2.0.1 lib/shoulda/controller.rb
technicalpickles-shoulda-2.0.2 lib/shoulda/controller.rb
technicalpickles-shoulda-2.0.6 lib/shoulda/controller.rb