Permalink
Browse files

shorter

  • Loading branch information...
1 parent 8342f85 commit 0e765b24203c1a76550c5b4924cd0b913550d37d @dchelimsky committed Oct 13, 2009
Showing with 2 additions and 2 deletions.
  1. BIN BeyondBasics.key
  2. +2 −2 code/railsapp/spec/spec_helper.rb
View
Binary file not shown.
@@ -3,13 +3,13 @@
Spork.prefork do
ENV["RAILS_ENV"] ||= 'test'
- require File.expand_path(File.join(File.dirname(__FILE__),'..','config','environment'))
+ require File.expand_path('../../config/environment', __FILE__)
require 'spec/autorun'
require 'spec/rails'
require 'webrat/integrations/rspec-rails'
- Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
+ Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| require f}
Spec::Runner.configure do |config|
config.use_transactional_fixtures = true

0 comments on commit 0e765b2

Please sign in to comment.