Sha256: df2e79d66da921d5ddda9d4112b27722119638d13e0c65663c4b0eccbb570db6

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'
require 'wordlist/operators/unary_operator'

describe Wordlist::Operators::UnaryOperator do
  let(:wordlist) { %w[foo bar] }

  subject { described_class.new(wordlist) }

  describe "#initialize" do
    it "must set #wordlist" do
      expect(subject.wordlist).to eq(wordlist)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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