Sha256: 7264a13012bd113cdd1b860a5c3c9d2708abe117881ee4311b1e65964b41fe33

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

require_relative '../spec_helper'

module Signore describe Wrapper do

  describe '#display' do

    it 'returns properly wrapped signature (with possible meta information)' do
      YAML.load_file('spec/fixtures/wrapper.yml').each do |sample|
        Wrapper.new(sample[:text], sample[:meta]).display.must_equal sample[:wrapped]
      end
    end

  end

end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signore-0.0.0 spec/signore/wrapper_spec.rb