We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfdcf48 commit e2c1603Copy full SHA for e2c1603
1 file changed
spec/unit/deprecations_spec.rb
@@ -0,0 +1,19 @@
1
+require_relative '../spec_helper'
2
+
3
+describe 'Deprecations' do
4
+ def self.changed_constant(from:, to:)
5
+ describe to do
6
+ it 'is still accessible by its old name' do
7
+ expect(from).to eq to
8
+ end
9
10
11
12
+ describe 'pre-3.0' do
13
+ changed_constant from: HawkularUtilsMixin, to: Hawkular::ClientUtils
14
+ changed_constant from: Hawkular::Operations::OperationsClient, to: Hawkular::Operations::Client
15
+ changed_constant from: Hawkular::Alerts::AlertsClient, to: Hawkular::Alerts::Client
16
+ changed_constant from: Hawkular::Token::TokenClient, to: Hawkular::Token::Client
17
+ changed_constant from: Hawkular::Inventory::InventoryClient, to: Hawkular::Inventory::Client
18
19
+end
0 commit comments