File: test_new_methods.rb

package info (click to toggle)
ruby-dbd-odbc 0.2.5%2Bgem2deb-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 276 kB
  • ctags: 118
  • sloc: ruby: 1,083; sql: 52; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
class TestODBCPing < DBDConfig.testbase(:odbc)
    def test_database_name
        #
        # NOTE this test will fail if the database is not named "rubytest". I
        # don't think there's a good way to get around this, so I've set it to
        # what I typically use in my odbc.ini. - erikh
        #
        assert_nothing_raised do
            assert_equal "rubytest", @dbh.database_name
        end
    end
end