Sha256: 77cd301dd49955637a2d17fff99a115d1b7ef14aedddd0e4faf254845b428648

Contents?: true

Size: 487 Bytes

Versions: 23

Compression:

Stored size: 487 Bytes

Contents

require 'spec_helper'

describe Vx::Builder::Script::Java do
  let(:app)    { ->(env) { env } }
  let(:script) { described_class.new app }
  let(:source) { create :source, name: "scala.yml" }
  let(:env)    { create :env, source: source }
  let(:run)    { script.call env }
  subject { run }

  it { should eq env }

  context "run it" do
    subject { env }

    context "should be success" do
      before { run }
      its(:before_install) { should_not be_empty }
    end

  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
vx-builder-0.0.21 spec/lib/builder/script/java_spec.rb
vx-builder-0.0.20 spec/lib/builder/script/java_spec.rb
vx-builder-0.0.19 spec/lib/builder/script/java_spec.rb