Sha256: fd57585c4e8614dc457205be4073f00dd72ff1e50ea3e533e73c7e5b60216773

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

require "open3"

RSpec.describe 'envied.gemspec' do
  let!(:build) { Open3.capture3("gem build envied.gemspec") }

  after do
    Dir.glob("envied-*.gem").each { |f| File.delete(f) }
  end

  it 'builds without warnings' do
    expect(build[1]).to_not match(/WARNING/)
  end

  it 'builds successfully' do
    expect(build[2].success?).to eq true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
envied-0.9.3 spec/gemspec_spec.rb
envied-0.9.2 spec/gemspec_spec.rb
envied-0.9.2.rc2 spec/gemspec_spec.rb
envied-0.9.2.rc1 spec/gemspec_spec.rb