Sha256: 46bf750039669a3dc94d2c02843bd11a5115a0a221d8be4b5e467973ce1a0027

Contents?: true

Size: 286 Bytes

Versions: 6

Compression:

Stored size: 286 Bytes

Contents

require_relative 'spec_helper'
require 'remedy/partial'

describe Remedy::Partial do
  subject { described_class.new.tap{|p| p << "foo"; p << "bar"; p << "remedy" } }

  describe '#width' do
    it 'gives length of longest line' do
      expect(subject.width).to eq 6
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
remedy-0.4.0 spec/partial_spec.rb
remedy-0.3.1 spec/partial_spec.rb
remedy-0.3.0 spec/partial_spec.rb
remedy-0.2.0 spec/partial_spec.rb
remedy-0.1.2 spec/partial_spec.rb
remedy-0.1.1 spec/partial_spec.rb