Sha256: 7136f091ec07526fb67e247b7cb9526f09bf8c436feecd438160f4f1537b24f1

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

require 'test_helper'

class LibrailsTest < ActiveSupport::TestCase
#  test "truth" do
#    assert_kind_of Module, Librails
  #  end
  include Librails::ViewHelper

  def test_hello
    assert_equal('Hello World!2', hello_method2)
  end

  def test_rescue_mysql2_error
    e = RuntimeError.new("Incorrect string value:")
    puts e.message
    Librails::MiscUtils.rescue_mysql2_error(e)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
librails-0.3.0 test/lib/librails_test.rb
librails-0.2.3 test/lib/librails_test.rb
librails-0.2.2 test/lib/librails_test.rb
librails-0.2.1 test/lib/librails_test.rb
librails-0.1.0 test/librails_test.rb