Sha256: f56551f71f07ecd40ac5bc49c83c0f3deeba3e720deb0501b3d6b7d088871bbc

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'bundler/setup'

require 'rspec'
require 'mocha/api'

require File.expand_path('../../lib/mail_room', __FILE__)

RSpec.configure do |config|
  config.mock_with :mocha
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
end

REQUIRED_MAILBOX_DEFAULTS = {
  :name => "inbox",
  :email => "user@example.com",
  :password => "password123"
}

def build_mailbox(options = {})
  MailRoom::Mailbox.new(REQUIRED_MAILBOX_DEFAULTS.merge(options))
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitlab-mail_room-0.0.9 spec/spec_helper.rb
gitlab-mail_room-0.0.8 spec/spec_helper.rb
gitlab-mail_room-0.0.7 spec/spec_helper.rb
gitlab-mail_room-0.0.6 spec/spec_helper.rb