Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
Avoid error in Rails 3.1 where the application may have already been …
Browse files Browse the repository at this point in the history
…initialized
  • Loading branch information
sikachu committed Jun 8, 2011
1 parent 0ee8575 commit e41c91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/diesel/testing/application.rb
Expand Up @@ -28,7 +28,7 @@ def require_environment!


def initialize! def initialize!
FileUtils.mkdir_p(Rails.root.join("db").to_s) FileUtils.mkdir_p(Rails.root.join("db").to_s)
super super unless @initialized
end end
end end
end end
Expand Down

0 comments on commit e41c91b

Please sign in to comment.