Sha256: ce31dc0b2d9e07d769054ed1d2bf21104e62b6d274deb935e02c2e3782349457
Contents?: true
Size: 848 Bytes
Versions: 1
Compression:
Stored size: 848 Bytes
Contents
require "seatbelt/version" require 'seatbelt/assert_json' require 'seatbelt/assert_mail' require 'seatbelt/assert_content_type' if defined?(Test) class Test::Unit::TestCase include Seatbelt::AssertContentType if defined?(ActionController) include Seatbelt::AssertJson include Seatbelt::AssertMail if defined?(ActionMailer) end end if defined?(Minitest) if defined?(Minitest::Unit) class Minitest::Unit::TestCase include Seatbelt::AssertContentType if defined?(ActionController) include Seatbelt::AssertJson include Seatbelt::AssertMail if defined?(ActionMailer) end else # Minitest >= 5.x class Minitest::Test include Seatbelt::AssertContentType if defined?(ActionController) include Seatbelt::AssertJson include Seatbelt::AssertMail if defined?(ActionMailer) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seatbelt-0.3.0 | lib/seatbelt.rb |