2019-12-04 20:38:33 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe Gitlab::Redis::Wrapper do
|
2020-06-23 00:09:42 +05:30
|
|
|
describe '.instrumentation_class' do
|
2021-09-04 01:27:46 +05:30
|
|
|
it 'raises a NameError' do
|
|
|
|
expect { described_class.instrumentation_class }.to raise_error(NameError)
|
2017-09-10 17:25:29 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|