Sha256: 046dceef3a866c1867f069c01d29ce516e53d120a3039f203d2f277aa427a911
Contents?: true
Size: 609 Bytes
Versions: 20
Compression:
Stored size: 609 Bytes
Contents
require 'test_helper' class ApotomoTest < Test::Unit::TestCase context "The main module" do should "save the JavascriptGenerator instance when setting js_framework" do Apotomo.js_framework = :jquery assert_respond_to Apotomo.js_generator, :jquery end should "have an accessor for js_framework" do Apotomo.js_framework = :jquery assert_equal :jquery, Apotomo.js_framework end should "have a setup method" do Apotomo.setup { |config| config.js_framework = :prototype } assert_respond_to Apotomo.js_generator, :prototype end end end
Version data entries
20 entries across 20 versions & 1 rubygems