Sha256: 57445f18968ea7128a25e877ec9c3f69fb89bf116cfa2518b5faee89f6de1446
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
require "spec_helper" describe Excise do describe ".parse" do subject { Excise.parse(string, pattern) } let(:string) { '[this] (patterned) <STRING>' } let(:pattern) { '[{first}] ({second}) <{third}>' } it { should be_a Hash } end describe "Excise convenience method" do subject { Excise(string, pattern) } let(:string) { '[first]' } let(:pattern) { '[{first}]' } it { should be_a Hash } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
excise-0.1.1 | spec/excise_spec.rb |