Sha256: 4fb87908335354081542330049583c5dc9e3510ec10588f4aeebe950342831bd
Contents?: true
Size: 443 Bytes
Versions: 20
Compression:
Stored size: 443 Bytes
Contents
require 'spec_helper' describe Vx::Builder::Script::Env do let(:app) { ->(_) { 0 } } let(:script) { described_class.new app } let(:env) { create :env } let(:run) { script.call env } subject { run } it { should eq 0 } context "run it" do let(:command) { create :command_from_env, env: env } before { run } it "should be success" do system( command ) expect($?.to_i).to eq 0 end end end
Version data entries
20 entries across 20 versions & 1 rubygems