Sha256: 56d07e66a3b6b76234aec1eb66f9a71f467d3edf008feb7c0e6e8dbd326e1b51

Contents?: true

Size: 344 Bytes

Versions: 11

Compression:

Stored size: 344 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

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
chartkick-1.3.2 test/chartkick_test.rb
chartkick-1.3.1 test/chartkick_test.rb
chartkick-1.3.0 test/chartkick_test.rb
chartkick-1.2.5 test/chartkick_test.rb
chartkick-1.2.4 test/chartkick_test.rb
chartkick-1.2.3 test/chartkick_test.rb
chartkick-1.2.2 test/chartkick_test.rb
chartkick-1.2.1 test/chartkick_test.rb
chartkick-1.2.0 test/chartkick_test.rb
chartkick-1.1.3 test/chartkick_test.rb
chartkick-1.1.2 test/chartkick_test.rb