Sha256: cc8c58857aef2a8223c23d5513042ce3fea77362c6b141b3e1494b9460cc62f8

Contents?: true

Size: 716 Bytes

Versions: 6

Compression:

Stored size: 716 Bytes

Contents

require 'spec_helper'

describe "bin/bundler-audit" do
  let(:name) { 'bundler-audit' }
  let(:path) do
    File.expand_path(File.join(File.dirname(__FILE__),'..','bin',name))
  end

  let(:command) { "#{path} version" }

  subject { sh(command) }

  it "must invoke the CLI class" do
    expect(subject).to eq("bundler-audit #{Bundler::Audit::VERSION}#{$/}")
  end
end

describe "bin/bundle-audit" do
  let(:name) { 'bundle-audit' }
  let(:path) do
    File.expand_path(File.join(File.dirname(__FILE__),'..','bin',name))
  end

  let(:command) { "#{path} version" }

  subject { sh(command) }

  it "must invoke the CLI class" do
    expect(subject).to eq("bundler-audit #{Bundler::Audit::VERSION}#{$/}")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bundler-audit-0.9.2 spec/integration_spec.rb
bundler-audit-0.9.1 spec/integration_spec.rb
bundler-audit-0.9.0.1 spec/integration_spec.rb
bundler-audit-0.9.0 spec/integration_spec.rb
bundler-audit-0.8.0 spec/integration_spec.rb
bundler-audit-0.8.0.rc2 spec/integration_spec.rb