Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8c354697f2
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.501 kb
require File.dirname(__FILE__) + "/gruff_test_case"
class TestGruffBullet < GruffTestCase
def setup
@data_args = [75, 100, {
:target => 80,
:low => 50,
:high => 90
}]
end
def test_bullet_graph
g = Gruff::Bullet.new
g.title = "Monthly Revenue"
g.data *@data_args
g.write("test/output/bullet_greyscale.png")
end
def test_no_options
g = Gruff::Bullet.new
g.data *@data_args
g.write("test/output/bullet_no_options.png")
end
end
Jump to Line
Something went wrong with that request. Please try again.