Sha256: a674919b10bf635a46ab81efd9efff695a28fa6c324323343ac7d923d260d2e0
Contents?: true
Size: 402 Bytes
Versions: 6
Compression:
Stored size: 402 Bytes
Contents
require 'abstract_unit' class StringInquirerTest < Test::Unit::TestCase def test_match assert ActiveSupport::StringInquirer.new("production").production? end def test_miss assert !ActiveSupport::StringInquirer.new("production").development? end def test_missing_question_mark assert_raise(NoMethodError) { ActiveSupport::StringInquirer.new("production").production } end end
Version data entries
6 entries across 6 versions & 4 rubygems