spec/bullet_counter_spec.rb in flyerhzm-bullet-1.5.6 vs spec/bullet_counter_spec.rb in flyerhzm-bullet-1.5.7
- old
+ new
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/spec_helper'
-ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :dbfile => ':memory:')
+ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
describe Bullet::Counter do
def setup_db
ActiveRecord::Schema.define(:version => 1) do
create_table :countries do |t|