File: env.rb

package info (click to toggle)
ruby-mustermann19 0.4.3%2Bgit20160621-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 756 kB
  • ctags: 445
  • sloc: ruby: 7,197; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#if RUBY_VERSION < '2.0.0'
#  $stderr.puts "needs Ruby 2.0.0, you're running #{RUBY_VERSION}"
#  exit 1
#end
require 'rspec'
require 'rspec/its'

ENV['RACK_ENV'] = 'test'

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