Sha256: 1538d12453110530e33c0c46e4295d24192920c82255200bcb6404be1e72506c

Contents?: true

Size: 549 Bytes

Versions: 4

Compression:

Stored size: 549 Bytes

Contents

require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start { add_filter '/spec/' }

require 'lita-jira'
require 'lita/rspec'

Lita.version_3_compatibility_mode = false

RSpec.configure do |config|
  config.before do
    registry.register_handler(Lita::Handlers::Jira)
    registry.register_handler(Lita::Handlers::JiraUtility)
  end
end

def grab_request(result)
  allow(JIRA::Client).to receive(:new) { result }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lita-jira-0.7.1 spec/spec_helper.rb
lita-jira-0.7.0 spec/spec_helper.rb
lita-jira-0.6.0 spec/spec_helper.rb
lita-jira-0.5.0 spec/spec_helper.rb