File: env.rb

package info (click to toggle)
ruby-mustermann 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,224 kB
  • sloc: ruby: 7,746; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if RUBY_VERSION < '2.1.0'
  $stderr.puts "needs Ruby 2.1.0, you're running #{RUBY_VERSION}"
  exit 1
end

RUBY_ENGINE ||= 'ruby'
ENV['RACK_ENV'] = 'test'

$-w = true

require 'rspec'
require 'rspec/its'

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = [:should, :expect]
  end
end