Sha256: 346065c6185331ed65c37785515f6337a7ee91dcd284054fad5281efe01873e9
Contents?: true
Size: 321 Bytes
Versions: 2
Compression:
Stored size: 321 Bytes
Contents
require 'spec_helper' describe JSPreprocessor do before(:all) do @pre = JSPreprocessor.new 'development' end it 'should process files' do #huehue processed_file = @pre.process "#{Dir.pwd}/example_js/", 'main.js' File.open 'processed.js', 'w' do |file| file.write processed_file end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jspreprocessor-0.0.6 | spec/jspreprocessor_spec.rb |
jspreprocessor-0.0.5 | spec/jspreprocessor_spec.rb |