Commits

Michael Granger committed 5dbe50a

Switch to hash form of PostgreSQL connection for specs

  • Participants
  • Parent commits 265fb39

Comments (0)

Files changed (1)

File spec/wordnet/lexicon_spec.rb

 describe WordNet::Lexicon do
 
 	before( :all ) do
-		setup_logging( :fatal )
+		setup_logging()
 		@devdb = Pathname( 'wordnet-defaultdb/data/wordnet-defaultdb/wordnet30.sqlite' ).
 			expand_path
 	end
 
 	context "with a PostgreSQL database", :requires_pg do
 
-		let( :lexicon ) { WordNet::Lexicon.new(adapter: 'postgres', host: 'localhost', database: 'wordnet30') }
+		let( :lexicon ) { WordNet::Lexicon.new('postgres:/wordnet30') }
 
 		context "via its index operator" do