Sha256: 9d303e8fd88b61f22a272ee52d28f4167d8e60d7fa70340a0762f7fffdbac44d
Contents?: true
Size: 410 Bytes
Versions: 88
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require "spec_helper" shared_examples_for "has component" do context "without a component" do before do subject.component = nil end it { is_expected.not_to be_valid } end context "without a valid component" do before do subject.component = build(:component, manifest_name: "foo-bar") end it { is_expected.not_to be_valid } end end
Version data entries
88 entries across 88 versions & 1 rubygems