spec/spec_helper.rb in pgcrypto-0.3.3 vs spec/spec_helper.rb in pgcrypto-0.3.4
- old
+ new
@@ -9,11 +9,9 @@
# Enable coverage reporting
require 'simplecov'
# Requier and configure PGCrypto
require 'pgcrypto'
-PGCrypto.keys[:private] = {:path => File.join(File.dirname(__FILE__), 'support', 'private.key')}
-PGCrypto.keys[:public] = {:path => File.join(File.dirname(__FILE__), 'support', 'public.key')}
RSpec.configure do |config|
database_config = {:adapter => 'postgresql', :database => 'pgcrypto_test', :encoding => 'utf8', :host => 'localhost'}
postgres_config = database_config.merge(:database => 'postgres', :schema_search_path => 'public')