Skip to content

Commit

Permalink
Make sure of require frameworks configured in environment.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Guidi committed Oct 29, 2008
1 parent 7435087 commit 9519ba5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
@@ -1,3 +1,7 @@
* Make sure of require frameworks configured in environment.rb



*0.0.3 (October 22nd, 2008)*

* Tagged v0.0.3
Expand Down
6 changes: 4 additions & 2 deletions test/test_helper.rb
Expand Up @@ -2,14 +2,16 @@

require 'test/unit'
require 'rubygems'

# FIXME load path
require File.dirname(__FILE__) + '/../../../../config/environment'

This comment has been minimized.

Copy link
@yaroslav

yaroslav Oct 29, 2008

How about File.join(RAILS_ROOT, “config”, “environment”)


require 'active_support'
require 'action_controller'
require 'active_support/test_case'
require 'active_record/fixtures'
require 'action_controller/integration'

# FIXME load path
require File.dirname(__FILE__) + '/../../../../config/environment'
$:.unshift File.dirname(__FILE__) + '/models'
require 'author'
require 'post'
Expand Down

0 comments on commit 9519ba5

Please sign in to comment.