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
thoughtbot-clearance-0.2.2 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.3 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.4 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.5 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.6 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.7 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.8 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.2.9 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.3.0 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.3.1 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.3.2 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.3.3 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-clearance-0.3.4 test/rails_root/vendor/gems/thoughtbot-shoulda-2.0.4/lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.0 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.1 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.2 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.3 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.4 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.5 lib/shoulda/controller.rb
thoughtbot-shoulda-2.0.6 lib/shoulda/controller.rb