File: gemspec_spec.rb

package info (click to toggle)
ruby-arbre 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: ruby: 1,912; makefile: 7; sh: 4
file content (20 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true
require "spec_helper"
require "open3"
require "arbre/version"

RSpec.describe "Gemspec" do
  after do
    File.delete("arbre-#{Arbre::VERSION}.gem")
  end

  let(:build) do
    Bundler.with_original_env do
      Open3.capture3("gem build arbre")
    end
  end

  it "succeeds" do
    expect(build[2]).to be_success
  end
end