Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix warning due to a constant already defined in tests

  • Loading branch information...
commit 5d88f67aa71fca31a7cad46b2dfd579975669dc7 1 parent 694198c
Lucas Dutra Nunes ldnunes authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/spec_helper.rb
4 spec/spec_helper.rb
View
@@ -4,7 +4,9 @@
require 'lib/staticmatic'
-TEST_SITE_PATH = File.expand_path(File.join(File.dirname(__FILE__), "sandbox", "test_site"))
+unless defined? TEST_SITE_PATH
+ TEST_SITE_PATH = File.expand_path(File.join(File.dirname(__FILE__), "sandbox", "test_site"))
+end
Spec::Runner.configure do |config|
end
Please sign in to comment.
Something went wrong with that request. Please try again.