$: << 'cf_spec'
require 'cf_spec_helper'

describe 'Version output' do
  subject(:app) { Machete.deploy_app(app_name) }
  let(:app_name) { 'sinatra_web_app' }

  context 'in an online environment', if: Machete::BuildpackMode.online? do
    specify do
      expect(app).to have_logged "-------> Buildpack version"
      expect(app).to have_logged "." # version dots
    end
  end
end

$: << 'cf_spec'
require 'cf_spec_helper'

describe 'Version output' do
  subject(:app) { Machete.deploy_app(app_name) }
  let(:app_name) { 'sinatra_web_app' }

  context 'in an online environment', if: Machete::BuildpackMode.online? do
    specify do
      expect(app).to have_logged "-------> Buildpack version "
    end
  end
end

Remove . from test matcher, adds no value
Remove . from test matcher, adds no value
