Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #40 from JohnMorales/fixing_specs
Browse files Browse the repository at this point in the history
Issue #39: Fixing specs in dev environment
  • Loading branch information
orslumen committed Feb 18, 2015
2 parents 23c8e7e + 61fc8d3 commit 9a9a4b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
@@ -1,3 +1,5 @@
ENV["RAILS_ENV"]="test"

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir + "/../lib"
$LOAD_PATH.unshift dir
Expand Down Expand Up @@ -39,7 +41,7 @@
RecordCache::Base.enable
DatabaseCleaner.start
end

config.after(:each) do
DatabaseCleaner.clean
RecordCache::Base.version_store.reset!
Expand Down

0 comments on commit 9a9a4b6

Please sign in to comment.