File: spec.rake

package info (click to toggle)
ruby-equatable 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: ruby: 398; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 223 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

begin
  require "rspec/core/rake_task"
  RSpec::Core::RakeTask.new(:spec) do |spec|
    spec.pattern = "spec/**{,/*/**}/*_spec.rb"
  end
rescue LoadError
  warn("Cannot load rspec task.")
end