Skip to content
Browse files

Probably want to know if spec_helper is required multiple times.

  • Loading branch information...
1 parent 46075be commit 80352856c8ed647f294fe69960ea880bd2bec327 @benpickles committed Nov 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
2 spec/spec_helper.rb
@@ -17,7 +17,7 @@
require 'support/webmock_server'
require 'support/my_rack_app'
-CURL_EXAMPLE_OUTPUT_PATH = File.expand_path(File.dirname(__FILE__)) + "/support/example_curl_output.txt" unless defined? CURL_EXAMPLE_OUTPUT_PATH
+CURL_EXAMPLE_OUTPUT_PATH = File.expand_path('../support/example_curl_output.txt', __FILE__)
RSpec.configure do |config|
unless NetworkConnection.is_network_available?

0 comments on commit 8035285

Please sign in to comment.
Something went wrong with that request. Please try again.