Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add . to the load path when running tests (to pacify ruby 1.9.2)

  • Loading branch information...
commit 338930e0508b8ea023d6a17ff9f2fb059c48bd0e 1 parent 4acf2e0
@jtrupiano jtrupiano authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/run_tests.sh
View
8 test/run_tests.sh
@@ -1,13 +1,13 @@
#!/bin/sh
echo "\033[1;81m Running test_time_stack_item...\033[0m"
-ruby -I../lib test_time_stack_item.rb || (echo "FAILED!!!!!!!!!!!!")
+ruby -I../lib:. test_time_stack_item.rb || (echo "FAILED!!!!!!!!!!!!")
echo "\033[1;81m Running test_timecop_without_date...\033[0m"
-ruby -I../lib test_timecop_without_date.rb || (echo "FAILED!!!!!!!!!!!!")
+ruby -I../lib:. test_timecop_without_date.rb || (echo "FAILED!!!!!!!!!!!!")
echo "\033[1;81m Running test_timecop_without_date_but_with_time...\033[0m"
-ruby -I../lib test_timecop_without_date_but_with_time.rb || (echo "FAILED!!!!!!!!!!!!")
+ruby -I../lib:. test_timecop_without_date_but_with_time.rb || (echo "FAILED!!!!!!!!!!!!")
echo "\033[1;81m Running test_timecop...\033[0m"
-ruby -I../lib test_timecop.rb || (echo "FAILED!!!!!!!!!!!!")
+ruby -I../lib:. test_timecop.rb || (echo "FAILED!!!!!!!!!!!!")
Please sign in to comment.
Something went wrong with that request. Please try again.