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 |
require 'github_api/mash'
|
7 all except jruby-9000 ✔ |
5 |
|
|
6 |
describe Github::Mash do |
7 all except jruby-9000 ✔ |
7 |
it 'suppresses warnings for key/method conflict' do |
7 all except jruby-9000 ✔ |
8 |
expect(Hashie.logger).to_not receive(:warn) |
× |
9 |
Github::Mash.new(size: 1) |
× |
10 |
end
|
|
11 |
|
|
12 |
it 'inherits from Hashie::Mash' do |
7 all except jruby-9000 ✔ |
13 |
expect(Github::Mash.new(size: 1)).to be_a(::Hashie::Mash) |
× |
14 |
end
|
|
15 |
end
|