Sha256: 6ca39cde83d2077e6ee870de88d9e58f18c4e5a37063e111faa256916bb1dd4a

Contents?: true

Size: 429 Bytes

Versions: 9

Compression:

Stored size: 429 Bytes

Contents

require "spec_helper"
require_relative "shared_examples_for_pattern1"
require_relative "shared_examples_for_to_remove_all_masks"

describe BrDocuments::IE::PI do
  describe "#formatted" do
    it "returns a formatted ie" do
      ie = described_class.new("123456789")
      expect(ie.formatted).to eq "123456789"
    end
  end

  it_behaves_like "a pattern1", "PI"

  include_examples "for to remove all masks", "12345678-9"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
br_documents-0.1.3 spec/ie/pi_spec.rb
br_documents-0.1.2 spec/ie/pi_spec.rb
br_documents-0.1.1 spec/ie/pi_spec.rb
br_documents-0.1.0 spec/ie/pi_spec.rb
br_documents-0.0.15 spec/ie/pi_spec.rb
br_documents-0.0.14 spec/ie/pi_spec.rb
br_documents-0.0.13 spec/ie/pi_spec.rb
br_documents-0.0.12 spec/ie/pi_spec.rb
br_documents-0.0.11 spec/ie/pi_spec.rb