spec/unit/build_system_metadata_spec.rb [21:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        it "returns an ami_id if one is found" do
          with_ami_id
          expect(buildkite_metadata.to_hash[:ami_id]).to eq(ami_id)
        end

        it "returns an hostname if one is found" do
          with_hostname
          expect(buildkite_metadata.to_hash[:hostname]).to eq(hostname)
        end

        it "returns is_docker_build if one is found" do
          with_docker
          expect(buildkite_metadata.to_hash[:is_docker_build]).to eq(true)
        end

        it "returns a docker_version if one is found" do
          with_docker
          expect(buildkite_metadata.to_hash[:docker_version]).to eq(docker_version)
        end

        it "returns a docker_image if one is found" do
          with_docker
          expect(buildkite_metadata.to_hash[:docker_image]).to eq(docker_image)
        end

        it "returns an omnibus_version if one is found" do
          expect(buildkite_metadata.to_hash[:omnibus_version]).to eq(Omnibus::VERSION)
        end

      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/unit/buildkite_spec.rb [80:108]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      it "returns an ami_id if one is found" do
        with_ami_id
        expect(buildkite_metadata.to_hash[:ami_id]).to eq(ami_id)
      end

      it "returns an hostname if one is found" do
        with_hostname
        expect(buildkite_metadata.to_hash[:hostname]).to eq(hostname)
      end

      it "returns is_docker_build if one is found" do
        with_docker
        expect(buildkite_metadata.to_hash[:is_docker_build]).to eq(true)
      end

      it "returns a docker_version if one is found" do
        with_docker
        expect(buildkite_metadata.to_hash[:docker_version]).to eq(docker_version)
      end

      it "returns a docker_image if one is found" do
        with_docker
        expect(buildkite_metadata.to_hash[:docker_image]).to eq(docker_image)
      end

      it "returns an omnibus_version if one is found" do
        expect(buildkite_metadata.to_hash[:omnibus_version]).to eq(Omnibus::VERSION)
      end
    end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



