Sha256: fd68518ee074afddfbbddf7edb64a95b82f376185be43e7a50474946061e44eb

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require_relative "../spec_helper.rb"

describe YSI::PublishedGem do
  describe "#assert" do
    it "returns nil if there is an error" do
      engine = YSI::Engine
      allow(engine).to receive(:project_name).and_return("IdontExist")
      allow(engine).to receive(:version).and_return("0.0")
      assertion = YSI::PublishedGem.new(YSI::Engine)

      expect(assertion.assert).to be(nil)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.5 spec/unit/assertions/published_gem_spec.rb