Sha256: 608719eacff23814cfa82324df247e34f9778fa3b282efea9d0f4409775c61f2
Contents?: true
Size: 768 Bytes
Versions: 8
Compression:
Stored size: 768 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' Depo.configure { author 'niquola@gmail.com' themes ['tundra','verdugo'] build_options { cssOptimize 'comments.keepLines' optimize 'shrinksafe.keepLines' cssImportIgnore '../dijit.css' internStrings 'true' } build_profile { libs<< 'mylib' pages<< 'app.pages.admin' pages<< 'app.pages.chart' pages<< 'app.pages.nurse' pages<< 'app.pages.dashboard' } } class BuildProfileTest < GeneratorTest def test_basics Depo::Build.generate_profile(:rails_root=>fake_rails_root) assert_file 'tmp/dojo_build_profile.js' result = read('tmp/dojo_build_profile.js') assert_match(/test\/rails_root\/public\/ria\/src\/mylib/, result) Depo.clear_config! end end
Version data entries
8 entries across 8 versions & 1 rubygems