travis-ci
236 of 236 new or added lines in 16 files covered. (100.0%)
7219 of 11573 relevant lines covered (62.38%)
33.13 hits per line
1 |
# encoding: utf-8
|
|
2 |
|
|
3 |
require 'spec_helper'
|
7 all except jruby-9000 ✔ |
4 |
|
|
5 |
describe Github, '#configure' do |
7 all except jruby-9000 ✔ |
6 |
subject { described_class } |
7 all except jruby-9000 ✔ |
7 |
|
|
8 |
it "allows to configure settings" do |
7 all except jruby-9000 ✔ |
9 |
yielded = nil
|
× |
10 |
Github.configure do |config| |
× |
11 |
yielded = config |
× |
12 |
end
|
|
13 |
expect(yielded).to be_a(Github::Configuration) |
× |
14 |
end
|
|
15 |
end
|