Files
news.gitea.happylizard.me/bin/gems/rb-inotify-0.11.1/spec/spec_helper.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

30 lines
516 B
Ruby

if ENV['COVERAGE'] || ENV['TRAVIS']
begin
require 'simplecov'
SimpleCov.start do
add_filter "/spec/"
end
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end
rescue LoadError
warn "Could not load simplecov: #{$!}"
end
end
require "bundler/setup"
require "rb-inotify"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
config.expect_with :rspec do |c|
c.syntax = :expect
end
end