Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactor

  • Loading branch information...
commit 55f518a0c80ccaa1a944c2e991bba373b9ae5488 1 parent f626e3d
@youpy authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.