Skip to content

Commit

Permalink
simplify specs
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jul 6, 2012
1 parent d64ec3c commit a08ecf3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/setup_test_model.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# connect
ActiveRecord::Base.configurations = {"test" => {
ActiveRecord::Base.establish_connection(
:adapter => "sqlite3",
:database => ":memory:",
}.with_indifferent_access}

ActiveRecord::Base.establish_connection(:test)
:database => ":memory:"
)

# create tables
ActiveRecord::Schema.define(:version => 1) do
Expand Down

0 comments on commit a08ecf3

Please sign in to comment.