Sha256: 8aaef6467c1efbb782fec17e82c970300fd70ea418f40b115352e18b876e8442
Contents?: true
Size: 444 Bytes
Versions: 6
Compression:
Stored size: 444 Bytes
Contents
require "spec_helper" describe Konstant::Runner do it "should pass the project root in an environment variable", :fixture_projects => true do project = Konstant::Project.new "test_project_02" build = Konstant::Build.new project, Time.now.strftime("%Y%m%d%H%M%S") runner = described_class.new build, :build runner.run expect(build.stdout.strip).to eq("#{Konstant.config['data_dir']}/projects/test_project_02") end end
Version data entries
6 entries across 6 versions & 1 rubygems