File: spec_helper.rb

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

require "pry"
begin
  require_relative "../lib/retriable"
  require_relative "support/exceptions"
rescue LoadError
  require "retriable"
  require "support/exceptions"
end

RSpec.configure do |config|
  config.before(:each) do
    srand(0)
  end
end