Skip to content

Commit

Permalink
use the rails standard way of initializing a gem, instead of that RAI…
Browse files Browse the repository at this point in the history
…LS_ROOT check
  • Loading branch information
mjankowski committed Oct 1, 2008
1 parent fedb8d1 commit 162e6f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'shoulda/rails'
require File.join(File.dirname(__FILE__), 'rails', 'init')
1 change: 0 additions & 1 deletion lib/shoulda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'shoulda/assertions'
require 'shoulda/macros'
require 'shoulda/helpers'
require 'shoulda/rails' if defined? RAILS_ROOT

module Test # :nodoc: all
module Unit
Expand Down
1 change: 1 addition & 0 deletions rails/init.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'shoulda/rails'

0 comments on commit 162e6f8

Please sign in to comment.