Added the Gruff library to the lib/ directory of the the rails folder, and the
[selectricity-live] / lib / gruff-0.2.8 / test / test_side_bar.rb
diff --git a/lib/gruff-0.2.8/test/test_side_bar.rb b/lib/gruff-0.2.8/test/test_side_bar.rb
new file mode 100644 (file)
index 0000000..7d2ea3d
--- /dev/null
@@ -0,0 +1,12 @@
+
+require File.dirname(__FILE__) + "/gruff_test_case"
+
+class TestGruffSideBar < GruffTestCase
+
+  def test_bar_graph
+    g = setup_basic_graph(Gruff::SideBar, 800)
+    write_test_file g, 'side_bar.png'    
+  end
+
+end
+

Benjamin Mako Hill || Want to submit a patch?