Sha256: 1007e2834b038e4382ff1843db33af20bd201a98b9fd20abf3b38f2bbae26f2c

Contents?: true

Size: 530 Bytes

Versions: 8

Compression:

Stored size: 530 Bytes

Contents

require 'rubygems'
require 'test/unit'

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'grafico'
require 'grafico/helpers'
require 'active_support'
require 'action_view'
require 'action_controller'

class Test::Unit::TestCase
  def wrap_as_javascript(javascript)
    "<script type=\"text/javascript\">\n//<![CDATA[\n#{javascript}\n//]]>\n</script>"
  end
end

class TestHelper
  include ActionView::Helpers
  include Grafico::Helpers
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grafico-0.2.5 test/helper.rb
grafico-0.2.4 test/helper.rb
grafico-0.2.3 test/helper.rb
grafico-0.2.2 test/helper.rb
grafico-0.2.1 test/helper.rb
grafico-0.2.0 test/helper.rb
grafico-0.1.1 test/helper.rb
grafico-0.1.0 test/helper.rb