Browse files

refactor

  • Loading branch information...
1 parent f626e3d commit 55f518a0c80ccaa1a944c2e991bba373b9ae5488 @youpy committed Jun 29, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 spec/rack/musicindex_spec.rb
View
5 spec/rack/musicindex_spec.rb
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.expand_path(File.dirname(__FILE__) + '/../test_app')
+%w(/../spec_helper /../test_app).each do |filename|
+ require File.expand_path(File.dirname(__FILE__) + filename)
+end
set :environment, :test

0 comments on commit 55f518a

Please sign in to comment.