Skip to content

Commit

Permalink
resolve deprecation warnings from rspec3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinee Paungam committed Sep 17, 2014
1 parent 6d99d7a commit adcb858
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ GEM
simplecov (>= 0.4.1)
slop (3.4.6)
tee (1.0.0)
webmock (1.13.0)
addressable (>= 2.2.7)
webmock (1.18.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
yard (0.8.7)

Expand Down
7 changes: 6 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
require 'liberty_buildpack/diagnostics/logger_factory'

RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.expect_with :rspec do |c|
c.syntax = [:should, :expect]
end
config.mock_with :rspec do |c|
c.syntax = [:should, :expect]
end
config.filter_run :focus
# Ensure a logger exists for any class under test that needs one.
config.before(:all) do
Expand Down

0 comments on commit adcb858

Please sign in to comment.