Sha256: 9c17f362c8ce785a14aba6bb6ecec4dd7cc2dc22eba92c93695feefb4fe7147b
Contents?: true
Size: 726 Bytes
Versions: 29
Compression:
Stored size: 726 Bytes
Contents
require 'test_helper' require 'generators/autocomplete/uncompressed_generator' module Autocomplete class UncompressedGeneratorTest < Test::Unit::TestCase def setup @destination = File.join('tmp', 'test_app') @source = UncompressedGenerator.source_root @filename = File.join(@destination, 'public', 'javascripts', 'autocomplete-rails.js') File.unlink(@filename) if File.exists?(@filename) UncompressedGenerator.start([], :destination_root => @destination) end def test_install assert File.exists?(@filename) assert_equal( File.read(File.join(@source, 'autocomplete-rails-uncompressed.js')), File.read(@filename) ) end end end
Version data entries
29 entries across 29 versions & 4 rubygems