Sha256: d9acd0da0142511ffad5bbc0259354a3abd758f80c2d38e129e7d3d5254a0dc0

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'spec_helper'

describe TTY::Text::Distance, '#initialize' do
  let(:strings) { ['abc', 'acb'] }

  subject { described_class.new(*strings) }

  its(:first) { should == strings.first }

  its(:second) { should == strings.last }

end # initialize

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tty-0.0.11 spec/tty/text/distance/initialize_spec.rb
tty-0.0.10 spec/tty/text/distance/initialize_spec.rb
tty-0.0.9 spec/tty/text/distance/initialize_spec.rb