Skip to content

Commit

Permalink
Remove unnecessary config and file
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 9, 2012
1 parent 0d18b18 commit 16c0c6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Empty file removed lib/mongoid/threaded/sessions.rb
Empty file.
13 changes: 0 additions & 13 deletions spec/mongoid/sessions_spec.rb
Expand Up @@ -33,19 +33,6 @@

describe "#collection" do

let(:config) do
{ default: { hosts: [ "localhost:27017" ], database: database_id }}
end

let(:session) do
Mongoid::Sessions::Factory.default
end

before do
Mongoid::Config.sessions = config
Mongoid::Threaded.sessions[:default] = session
end

context "when overriding the default with store_in" do

before do
Expand Down

0 comments on commit 16c0c6a

Please sign in to comment.