Sha256: 091e6cee4f0b50f1a837e812947b7ee00620f49b8c042bad79e9552ee7c40bde

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'
require 'wordlist/modifiers/modifier'

describe Wordlist::Modifiers::Modifier do
  let(:wordlist) { %w[foo bar baz] }

  subject { described_class.new(wordlist) }

  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/modifiers/modifier_spec.rb
wordlist-1.1.0 spec/modifiers/modifier_spec.rb
wordlist-1.0.3 spec/modifiers/modifier_spec.rb
wordlist-1.0.2 spec/modifiers/modifier_spec.rb
wordlist-1.0.1 spec/modifiers/modifier_spec.rb
wordlist-1.0.0 spec/modifiers/modifier_spec.rb