Sha256: d8c944115baeacd07d4bad6c46e7d1efd73b2da63f786cf2176aeb73e41728e1

Contents?: true

Size: 345 Bytes

Versions: 6

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'
require 'wordlist/operators/operator'

describe Wordlist::Operators::Operator do
  it do
    expect(described_class).to include(Enumerable)
  end

  describe "#each" do
    it do
      expect {
        subject.each
      }.to raise_error(NotImplementedError,"#{described_class}#each was not implemented")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wordlist-1.1.1 spec/operators/operator_spec.rb
wordlist-1.1.0 spec/operators/operator_spec.rb
wordlist-1.0.3 spec/operators/operator_spec.rb
wordlist-1.0.2 spec/operators/operator_spec.rb
wordlist-1.0.1 spec/operators/operator_spec.rb
wordlist-1.0.0 spec/operators/operator_spec.rb