8000 Move the spec to param fallback_application_name into PostgreSQL 9.0 … · danielcode/ruby-pg@1d19e0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d19e0a

Browse files
committed
Move the spec to param fallback_application_name into PostgreSQL 9.0 section
1 parent d9efccf commit 1d19e0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/pg/connection_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,17 +535,17 @@
535535
expect { conn.finish }.to raise_error( PG::Error, /connection is closed/i )
536536
end
537537

538-
it "sets the fallback_application_name on new connections" do
539-
PG::Connection.parse_connect_args( 'dbname=test' ).should include( $0 )
540-
end
541-
542538

543539
context "under PostgreSQL 9", :postgresql_90 do
544540

545541
before( :each ) do
546542
pending "only works with a PostgreSQL >= 9.0 server" if @conn.server_version < 9_00_00
547543
end
548544

545+
it "sets the fallback_application_name on new connections" do
546+
PG::Connection.parse_connect_args( 'dbname=test' ).should include( $0 )
547+
end
548+
549549
it "calls the block supplied to wait_for_notify with the notify payload if it accepts " +
550550
"any number of arguments" do
551551

0 commit comments

Comments
 (0)
0