File: spec_spec.rb

package info (click to toggle)
ruby-pathspec 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: ruby: 854; makefile: 9; sh: 5
file content (14 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

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