Skip to content

Commit

Permalink
fixed an issue where formtastic was being required twice in the specs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Nov 23, 2009
1 parent 7e99618 commit 70846ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
Expand Up @@ -27,9 +27,8 @@ def smart_require(lib_name, gem_name, gem_version = '>= 0.0.0')
config.include(CustomMacros)
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/formtastic'))

require 'lib/formtastic'

module FormtasticSpecHelper
include ActionView::Helpers::FormHelper
Expand Down

0 comments on commit 70846ef

Please sign in to comment.