Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 0.879 kb
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
Jump to Line
Something went wrong with that request. Please try again.