File: simple_match_spec.rb

package info (click to toggle)
ruby-mustermann 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,224 kB
  • sloc: ruby: 7,746; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true
require 'support'
require 'mustermann/simple_match'

describe Mustermann::SimpleMatch do
  subject { Mustermann::SimpleMatch.new('example') }
  its(:to_s) { should be == 'example' }
  its(:names) { should be == [] }
  its(:captures) { should be == [] }
  example { subject[1].should be == nil }
end