File: simple_match_spec.rb

package info (click to toggle)
ruby-mustermann19 0.4.3%2Bgit20160621-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 756 kB
  • ctags: 445
  • sloc: ruby: 7,197; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
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