File: spec_spec.rb

package info (click to toggle)
ruby-pathspec 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: ruby: 861; sh: 21; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require 'spec_helper'
require 'pathspec/spec'

describe PathSpec::Spec do
  subject { PathSpec::Spec.new }

  it 'does not allow matching' do
    expect { subject.match 'anything' }.to raise_error(/Unimplemented/)
  end

  it { is_expected.to be_inclusive }
end