File: spec_helper.rb

package info (click to toggle)
ruby-fog-aliyun 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 720 kB
  • sloc: ruby: 5,804; makefile: 6; sh: 3
file content (29 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# frozen_string_literal: true

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter 'test'
  end
end

if !ENV['INTEGRATION']
  RSpec.configure do |c|
    c.filter_run_excluding :integration => true
  end
end

if !ENV['PERFORMANCE']
  RSpec.configure do |c|
    c.filter_run_excluding :performance => true
  end
end

if !ENV['BLOBSTORE']
  RSpec.configure do |c|
    c.filter_run_excluding :blobstore => true
  end
end

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'fog/aliyun'