Sha256: e02f283aa34f98b65d65b6ed4bcf478bb5b9814bb0ecbde3143f8e2860e96698

Contents?: true

Size: 370 Bytes

Versions: 12

Compression:

Stored size: 370 Bytes

Contents

require 'active_support/test_case'

class ActiveSupport::TestCase
  def assert_not(assertion)
    assert !assertion
  end

  def assert_blank(assertion)
    assert assertion.blank?
  end

  def assert_not_blank(assertion)
    assert !assertion.blank?
  end

  def assert_equal_sql(sql1, sql2)
    assert_equal sql1.squeeze(" ").strip, sql2.squeeze(" ").strip
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
admin_data-1.0.11 test/support/assertions.rb
admin_data-1.0.10 test/support/assertions.rb
admin_data-1.0.9 test/support/assertions.rb
admin_data-1.0.8 test/support/assertions.rb
admin_data-1.0.7 test/support/assertions.rb
admin_data-1.0.6 test/support/assertions.rb
admin_data-1.0.5 test/support/assertions.rb
admin_data-1.0.4 test/support/assertions.rb
admin_data-1.0.3 test/support/assertions.rb
admin_data-1.0.2 test/support/assertions.rb
admin_data-1.0.1 test/support/assertions.rb
admin_data-1.0.0 test/support/assertions.rb