Skip to content

Commit

Permalink
Update coveralls gem
Browse files Browse the repository at this point in the history
  • Loading branch information
ikapelyukhin committed Feb 14, 2018
1 parent 1999ec3 commit 47c2a1a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -65,7 +65,7 @@ group :test do
gem 'fuubar'
gem 'timecop'
gem 'vcr', '~> 4.0'
gem 'coveralls', require: false
gem 'coveralls', '~> 0.8.21', require: false
end

gem 'simplecov', require: false, group: :test
Expand Down
32 changes: 13 additions & 19 deletions Gemfile.lock
Expand Up @@ -44,12 +44,12 @@ GEM
activesupport (>= 3.0)
deep_merge (~> 1.2.1)
dry-validation (>= 0.10.4)
coveralls (0.7.2)
multi_json (~> 1.3)
rest-client (= 1.6.7)
simplecov (>= 0.7)
term-ansicolor (= 1.2.2)
thor (= 0.18.1)
coveralls (0.8.21)
json (>= 1.8, < 3)
simplecov (~> 0.14.1)
term-ansicolor (~> 1.3)
thor (~> 0.19.4)
tins (~> 1.6)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.3)
Expand Down Expand Up @@ -86,7 +86,7 @@ GEM
erubi (1.7.0)
ethon (0.11.0)
ffi (>= 1.3.0)
factory_girl (4.8.0)
factory_girl (4.8.1)
activesupport (>= 3.0.0)
factory_girl_rails (4.8.0)
factory_girl (~> 4.8.0)
Expand Down Expand Up @@ -121,12 +121,8 @@ GEM
nokogiri (>= 1.5.9)
memory_profiler (0.9.9)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.3.0)
minitest (5.11.3)
multi_json (1.13.1)
mustache (1.0.5)
mysql2 (0.4.10)
nokogiri (1.8.2)
Expand Down Expand Up @@ -161,8 +157,6 @@ GEM
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (1.6.7)
mime-types (>= 1.16)
ronn (0.7.3)
hpricot (>= 0.8.2)
mustache (>= 0.7.0)
Expand Down Expand Up @@ -207,7 +201,7 @@ GEM
sexp_processor (4.10.0)
shoulda-matchers (3.1.2)
activesupport (>= 4.0.0)
simplecov (0.15.1)
simplecov (0.14.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
Expand All @@ -217,15 +211,15 @@ GEM
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
term-ansicolor (1.2.2)
tins (~> 0.8)
term-ansicolor (1.6.0)
tins (~> 1.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
text (1.3.1)
thor (0.18.1)
thor (0.19.4)
thread_safe (0.3.6)
timecop (0.9.1)
tins (0.13.2)
tins (1.16.3)
typhoeus (1.3.0)
ethon (>= 0.9.0)
tzinfo (1.2.5)
Expand Down Expand Up @@ -255,7 +249,7 @@ DEPENDENCIES
awesome_print
byebug
config (~> 1.0)
coveralls
coveralls (~> 0.8.21)
factory_girl_rails (= 4.8.0)
fakefs
fast_gettext
Expand Down
5 changes: 3 additions & 2 deletions spec/lib/rmt/cli/main_spec.rb
Expand Up @@ -76,9 +76,10 @@
describe 'exception handling' do
let(:exception_class) { RMT::CLI::Error }
let(:error_message) { 'Dummy error' }
let(:argv) { ['sync'] }

before do
expect(described_class).to receive(:help).and_raise(exception_class, error_message)
expect(RMT::SCC).to receive(:new).and_raise(exception_class, error_message)
expect(described_class).to receive(:exit)
end

Expand All @@ -89,7 +90,7 @@
end

context 'with --debug' do
let(:argv) { ['--debug'] }
let(:argv) { ['sync', '--debug'] }

it 'prints exception details' do
expect { command }.to output(/#<RMT::CLI::Error: #{error_message}>/).to_stderr
Expand Down

0 comments on commit 47c2a1a

Please sign in to comment.