Skip to content

Commit

Permalink
Enable verifying doubles
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jul 15, 2016
1 parent a6b475e commit 8d916a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@ def current
config.extend Yast::I18n # available in context/describe
config.include Yast::I18n # available in it/let/before/...
config.include Helpers # custom helpers

# Enable verifying doubles
# https://relishapp.com/rspec/rspec-mocks/v/3-0/docs/verifying-doubles/partial-doubles
config.mock_with :rspec do |c|
c.verify_partial_doubles = true
end
end

0 comments on commit 8d916a8

Please sign in to comment.