Sha256: a8217306ed32ef31d6c549a2a0b7dfe12ecaa0dafe67f79a3632b2280a7b8c42

Contents?: true

Size: 910 Bytes

Versions: 5

Compression:

Stored size: 910 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'ruby_jard'
require 'multi_json'
require 'webmock/rspec'

$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.9 spec/spec_helper.rb
git_reflow-0.9.8 spec/spec_helper.rb
git_reflow-0.9.7 spec/spec_helper.rb
git_reflow-0.9.6 spec/spec_helper.rb
git_reflow-0.9.5 spec/spec_helper.rb