Sha256: e9b814d24978d3f2198f62e141869bf497a9a23dba16e06bb647e54dbddfd4f8
Contents?: true
Size: 913 Bytes
Versions: 23
Compression:
Stored size: 913 Bytes
Contents
# -*- coding: UTF-8 -*- # # Copyright 2014 PagerDuty, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'spec_helper' describe LitaGithub::Config do before do allow(Lita.config.handlers).to receive(:github).and_return(:ohai_cfg) end describe '.config' do it 'should get the Github handler config' do extend LitaGithub::Config expect(config).to eql :ohai_cfg end end end
Version data entries
23 entries across 23 versions & 1 rubygems