spec/zendesk2_spec.rb in zendesk2-1.9.0 vs spec/zendesk2_spec.rb in zendesk2-1.10.0
- old
+ new
@@ -1,14 +1,15 @@
+# frozen_string_literal: true
require 'spec_helper'
describe 'Zendesk2::Client', 'messages' do
around do |example|
current = Cistern.deprecation_warnings?
Cistern.deprecation_warnings = true
example.run
Cistern.deprecation_warnings = current
end
- specify('are deprecated') {
+ specify('are deprecated') do
expect { Zendesk2::Client.mocking? }.to output(/deprecated, use Zendesk2/).to_stderr_from_any_process
- }
+ end
end