Sha256: 0fcc9cd53f435354562e08a0787b6788523068a3e985d032c3677173744bdf99

Contents?: true

Size: 904 Bytes

Versions: 5

Compression:

Stored size: 904 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'multi_json'
require 'webmock/rspec'
require 'pry'

$LOAD_PATH << 'lib'
require 'git_reflow'

require 'git_reflow/rspec'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| require f}

RSpec.configure do |config|
  config.include WebMock::API
  config.include GitReflow::RSpec::CommandLineHelpers
  config.include GithubHelpers
  config.include GitReflow::RSpec::StubHelpers
  config.include GitReflow::RSpec::WorkflowHelpers

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

  config.mock_with :rspec do |c|
    c.syntax = [:should, :expect]
  end

  config.before(:each) do
    WebMock.reset!
    stub_command_line
    suppress_loading_of_external_workflows
    GitReflow::Workflow.reset!
    allow_message_expectations_on_nil
  end

  config.after(:each) do
    WebMock.reset!
    reset_stubbed_command_line
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
git_reflow-0.9.4 spec/spec_helper.rb
git_reflow-0.9.3 spec/spec_helper.rb
git_reflow-0.9.2 spec/spec_helper.rb
git_reflow-0.9.1 spec/spec_helper.rb
git_reflow-0.9.0 spec/spec_helper.rb