Sha256: 840ae851891e3ab8feae6fc07644b07c3978c0d692e8ff6499484cc21dee5207

Contents?: true

Size: 346 Bytes

Versions: 153

Compression:

Stored size: 346 Bytes

Contents

shared_examples_for 'inputs must have descriptions' do
  describe 'inputs' do
    subject { command.inputs }

    it "is not missing any descriptions" do
      subject.each do |_, attrs|
        next if attrs[:hidden]

        expect(attrs[:description]).to be
        expect(attrs[:description].strip).to_not be_empty
      end
    end
  end
end

Version data entries

153 entries across 153 versions & 5 rubygems

Version Path
cf-5.2.1.rc10 spec/support/shared_examples/input.rb
cf-5.2.1.rc9 spec/support/shared_examples/input.rb
cf-5.2.1.rc8 spec/support/shared_examples/input.rb
cf-5.2.1.rc7 spec/support/shared_examples/input.rb
cf-5.2.1.rc6 spec/support/shared_examples/input.rb
cf-5.2.1.rc5 spec/support/shared_examples/input.rb
cf-5.2.1.rc4 spec/support/shared_examples/input.rb
cf-5.2.1.rc3 spec/support/shared_examples/input.rb
cf-5.2.1.rc2 spec/support/shared_examples/input.rb
cf-5.2.0 spec/support/shared_examples/input.rb
cf-5.1.0.rc1 spec/support/shared_examples/input.rb
cf-5.0.0.rc4 spec/support/shared_examples/input.rb
cf-5.0.0.rc3 spec/support/shared_examples/input.rb
cf-5.0.0.rc1 spec/support/shared_examples/input.rb
cf-4.2.9.rc5 spec/support/shared_examples/input.rb
cf-4.2.9.rc3 spec/support/shared_examples/input.rb
cf-4.2.10.rc2 spec/support/shared_examples/input.rb
cf-4.2.10.rc1 spec/support/shared_examples/input.rb
cf-4.2.9.rc2 spec/support/shared_examples/input.rb
cf-4.2.8 spec/support/shared_examples/input.rb