Sha256: 172a337c7f841fc35da1ca9854a8adfdadc546311b27544c4ad9bdf690372a40

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

require 'simplecov'
SimpleCov.start
begin
  require 'coveralls'
  Coveralls.wear!
rescue LoadError
end

$:.unshift File.expand_path("../../lib", __FILE__)
$:.unshift File.expand_path("../", __FILE__)
require 'rubygems'
require 'fixtures'
require 'rspec'
require 'r509'

# exclude EC specific tests if it's unsupported
if not R509.ec_supported?
  puts "\e[#{31}mWARNING: NOT RUNNING EC TESTS BECAUSE EC IS UNSUPPORTED ON YOUR RUBY INSTALLATION\e[0m"
  R509.print_debug
  RSpec.configure do |c|
    c.filter_run_excluding :ec => true
  end
end

RSpec.configure do |config|
  config.alias_it_should_behave_like_to :it_validates, "it validates"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r509-0.10.0 spec/spec_helper.rb