Sha256: d5e340fe93e133533268207d99da7a4202dda0d075b5a7d8d69434325c7afe9f
Contents?: true
Size: 837 Bytes
Versions: 5
Compression:
Stored size: 837 Bytes
Contents
require "spec_helper" describe BPM::Pipeline, 'format' do before do goto_home set_host reset_libgems bpm_dir.to_s start_fake(FakeGemServer.new) FileUtils.cp_r project_fixture('coffee'), '.' cd home('coffee') bpm 'rebuild' wait end subject do File.read home('coffee', 'assets', 'bpm_libs.js') end it "should compile coffee file and wrap with transport" do subject.should include("spade(COFFEE(//coffee/lib/main\n))") end it "should compile handlebars template with transport" do subject.should include("spade(HANDLEBARS(//coffee/templates/section\n RUNTIME))") end it "should include coffeescript runtime" do subject.should include("//coffee-script/lib/main") end it "should include spade runtime" do subject.should include("//spade/lib/main") end end
Version data entries
5 entries across 5 versions & 1 rubygems