Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix warning due to a constant already defined in tests

  • Loading branch information...
commit 5d88f67aa71fca31a7cad46b2dfd579975669dc7 1 parent 694198c
Lucas Dutra Nunes ldnunes authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 spec/spec_helper.rb
4 spec/spec_helper.rb
@@ -4,7 +4,9 @@
4 4
5 5 require 'lib/staticmatic'
6 6
7   -TEST_SITE_PATH = File.expand_path(File.join(File.dirname(__FILE__), "sandbox", "test_site"))
  7 +unless defined? TEST_SITE_PATH
  8 + TEST_SITE_PATH = File.expand_path(File.join(File.dirname(__FILE__), "sandbox", "test_site"))
  9 +end
8 10
9 11 Spec::Runner.configure do |config|
10 12 end

0 comments on commit 5d88f67

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