Sha256: 38658b1122847e3528efe62b6572cb2941c15057448a92b827f29ec63f1943e8
Contents?: true
Size: 476 Bytes
Versions: 19
Compression:
Stored size: 476 Bytes
Contents
require "test_helper" class TestChartkick < Minitest::Test include Chartkick::Helper # TODO actual tests def setup @data = [[34, 42], [56, 49]] end def test_line_chart assert line_chart(@data) end def test_pie_chart assert pie_chart(@data) end def test_column_chart assert column_chart(@data) end def test_options_not_mutated options = {id: "boom"} line_chart @data, options assert_equal "boom", options[:id] end end
Version data entries
19 entries across 19 versions & 1 rubygems