Sha256: 290aa318b28ff868e8fb09712e81306db9af78485c8a2b9036a3fe7e0ba7dd6c
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
require File.dirname(__FILE__) + '/../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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apotomo-0.1.2 | test/unit/apotomo_test.rb |
apotomo-0.1.1 | test/unit/apotomo_test.rb |