Sha256: daad6f1d54135a9a46a6a09fd27aedb09152641d01a5d77c0c9e436418101087

Contents?: true

Size: 500 Bytes

Versions: 5

Compression:

Stored size: 500 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'redirus'

SPEC_DIR = File.dirname(__FILE__)
Dir[SPEC_DIR + "/support/**/*.rb"].each {|f| require f}

if ENV['TRAVIS']
  require 'coveralls'
  Coveralls.wear!
end

RSpec.configure do |config|
    # Disable the old-style object.should syntax.
    config.expect_with :rspec do |c|
      c.syntax = :expect
    end

    config.alias_example_to :expect_it
end

RSpec::Core::MemoizedHelpers.module_eval do
  alias to should
  alias to_not should_not
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redirus-0.3.1 spec/spec_helper.rb
redirus-0.2.1 spec/spec_helper.rb
redirus-0.1.2 spec/spec_helper.rb
redirus-0.1.1 spec/spec_helper.rb
redirus-0.1.0 spec/spec_helper.rb