Sha256: f41309b66ccb0ce6af57d44fb6457308902b27a3126f227302f2d3806251df66

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

require 'spec_helper'
require 'wordlist/operators/binary_operator'

describe Wordlist::Operators::BinaryOperator do
  let(:left)  { %w[foo bar] }
  let(:right) { %w[baz qux] }

  subject { described_class.new(left,right) }

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

    it "must set #right" do
      expect(subject.right).to eq(right)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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