Sha256: e6789e09c88162c8d31a25f6c59b1accea2278257e4b5a6f25d175891c8f67f8
Contents?: true
Size: 449 Bytes
Versions: 1
Compression:
Stored size: 449 Bytes
Contents
require File.expand_path( File.join( File.dirname( __FILE__ ), '..', 'test_helper' ) ) class PostgreSQLAdapterTest< TestCaseSuperClass def setup @target = ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.allocate end def test_should_generate_the_correct_next_value_for_sequence result = @target.next_value_for_sequence("blah") assert_equal %{nextval('blah')}, result, "wrong next value sequence identifier" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jorahood-ar-extensions-0.9.2.3 | tests/postgresql/test_adapter.rb |