Sha256: 7d4f1e7b264395e0993a8c742d8f478da299d80b492d5152d3ae219ab4342855
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
require 'test_helper' require 'generators/mongo_modl/mongo_modl_generator' class ColorboxGeneratorTest < Test::Unit::TestCase def setup @destination = File.join('tmp', 'test_app') @source = ColorboxGenerator.source_root ColorboxGenerator.start('', :destination_root => @destination) end def teardown FileUtils.rm_rf(@destination) end def test_install_colorbox assert File.exists?( File.join(@destination, 'public', 'javascripts', 'jquery.colorbox-min.js') ) assert_equal( File.read(File.join(@source, 'jquery.colorbox-min.js')), File.read(File.join(@destination, 'public', 'javascripts', 'jquery.colorbox-min.js')) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo_model-0.2.1 | test/generators/mongo_modl/mongo_modl_generator_test.rb |