diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 64ce0de..461a858 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,9 +19,8 @@ end def test_config return @config unless @config.nil? @config = default_config - yaml_path = File.expand_path(base_dir+'/spec/data/test_config.yaml') - File.unlink(yaml_path) if File.exists?(yaml_path) - @config['adapter_options'][:path] = yaml_path + @config.delete('adapter_options') + @config['adapter'] = :Memory @config end |