Sha256: 1fdad50d4f953b7e041f70032203a61a570513bcbecbe035d7100ad5fee268aa
Contents?: true
Size: 626 Bytes
Versions: 14
Compression:
Stored size: 626 Bytes
Contents
require 'test_helper' require 'generators/autocomplete_generator' class AutocompleteGeneratorTest < Test::Unit::TestCase def setup @destination = File.join('tmp', 'test_app') @source = AutocompleteGenerator.source_root AutocompleteGenerator.start('', :destination_root => @destination) end def test_install assert File.exists?( File.join(@destination, 'public', 'javascripts', 'autocomplete-rails.js') ) assert_equal( File.read(File.join(@source, 'autocomplete-rails.js')), File.read(File.join(@destination, 'public', 'javascripts', 'autocomplete-rails.js')) ) end end
Version data entries
14 entries across 14 versions & 2 rubygems