Sha256: 5262c7392bebc544edb55fd42ed7a07d223c059eca105f30b1d29cd8ae245895

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

require 'spec_helper'
require 'wordlist/abstract_wordlist'

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

  it do
    expect(described_class).to include(Wordlist::ListMethods)
  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/abstract_list_spec.rb
wordlist-1.1.0 spec/abstract_list_spec.rb
wordlist-1.0.3 spec/abstract_list_spec.rb
wordlist-1.0.2 spec/abstract_list_spec.rb
wordlist-1.0.1 spec/abstract_list_spec.rb
wordlist-1.0.0 spec/abstract_list_spec.rb