test/photo_test.rb in gruff-0.1.1 vs test/photo_test.rb in gruff-0.1.2
- old
+ new
@@ -1,12 +1,9 @@
#!/usr/bin/ruby
-$:.unshift(File.dirname(__FILE__) + "/../lib/")
+require File.dirname(__FILE__) + "/gruff_test_case"
-require 'test/unit'
-require 'gruff'
-
-class TestGruffPhotoBar < Test::Unit::TestCase
+class TestGruffPhotoBar < GruffTestCase
def setup
@datasets = [
[:Jimmy, [25, 36, 86, 39]],
[:Charles, [80, 54, 67, 54]],