Sha256: 8557c1f2722b67801a1d654427c4d99f5ab9535f0e3d37299b337aba2450352e

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

require 'simplecov'
require 'coveralls'
SimpleCov.formatters = [
  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

3 entries across 3 versions & 1 rubygems

Version Path
lita-jira-0.8.1 spec/spec_helper.rb
lita-jira-0.8.0 spec/spec_helper.rb
lita-jira-0.7.2 spec/spec_helper.rb