File: version_spec.rb

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

begin
  require_relative '../../lib/filewatcher/version'
rescue LoadError
  require 'filewatcher/version'
end

describe 'Filewatcher::VERSION' do
  subject { Object.const_get(self.class.description) }

  it { is_expected.to match(/^\d+\.\d+\.\d+(\.\w+(\.\d+)?)?$/) }
end