Sha256: 7e02e15d41bee1e52d67524c2ecc994b3385d1e7a3b85399e30813b08852db53

Contents?: true

Size: 247 Bytes

Versions: 6

Compression:

Stored size: 247 Bytes

Contents

require 'spec_helper'

shared_examples_for "Sequence" do
  describe "#values" do
    subject { super().values }

    it 'has 6 items' do
      expect(subject.size).to eq(6)
    end
    it { is_expected.to all(be_between(0,0xFFFFFFFF)) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-nmap-0.10.0 spec/sequence_examples.rb
ruby-nmap-0.9.3 spec/sequence_examples.rb
ruby-nmap-0.9.2 spec/sequence_examples.rb
ruby-nmap-0.9.1 spec/sequence_examples.rb
ruby-nmap-0.9.0 spec/sequence_examples.rb
ruby-nmap-0.8.0 spec/sequence_examples.rb