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.4.7 spec/support/shared_examples/input.rb
cf-5.4.7.rc1 spec/support/shared_examples/input.rb
cf-5.4.5 spec/support/shared_examples/input.rb
cf-5.4.4 spec/support/shared_examples/input.rb
trucker-cli-0.0.3 spec/support/shared_examples/input.rb
cf-5.4.3 spec/support/shared_examples/input.rb
cf-5.4.2 spec/support/shared_examples/input.rb
trucker-cli-0.0.2 spec/support/shared_examples/input.rb
trucker-cli-0.0.1 spec/support/shared_examples/input.rb
cf-5.4.1 spec/support/shared_examples/input.rb
cf-5.4.1.rc1 spec/support/shared_examples/input.rb
cf-5.4.0 spec/support/shared_examples/input.rb
cf-5.3.1 spec/support/shared_examples/input.rb
cf-5.3.0 spec/support/shared_examples/input.rb
cf-5.2.2 spec/support/shared_examples/input.rb
cf-5.2.1.rc15 spec/support/shared_examples/input.rb
cf-5.2.1.rc14 spec/support/shared_examples/input.rb
cf-5.2.1.rc13 spec/support/shared_examples/input.rb
cf-5.2.1.rc12 spec/support/shared_examples/input.rb
cf-5.2.1.rc11 spec/support/shared_examples/input.rb