Sha256: 2f69b10e7998e099a972babecda824d36ef1e9c0220fa9301f195a9474b0cc7d

Contents?: true

Size: 589 Bytes

Versions: 9

Compression:

Stored size: 589 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

require 'shenandoah/buildr'

describe Buildr::JavaScript::ShenandoahTasks do
  before do
    define("js") do
      test.using :shenandoah
    end

    define("java") do
      test.using :junit
    end
  end

  it "leaves non-shenandoah projects alone" do
    Rake::Task.task_defined?("java:shen:serve").should be_false
  end

  it "adds a server task" do
    Rake::Task.task_defined?("js:shen:serve").should be_true
  end

  it "adds a shell task" do
    Rake::Task.task_defined?("js:shen:shell").should be_true
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rsutphin-shenandoah-0.1.0 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
rsutphin-shenandoah-0.1.1 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
rsutphin-shenandoah-0.1.2 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.2.0 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.1.3 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.1.0 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.1.1 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.1.2 spec/shenandoah/buildr/shenandoah_tasks_spec.rb
shenandoah-0.0.0 spec/shenandoah/buildr/shenandoah_tasks_spec.rb