25 lines
440 B
Ruby
25 lines
440 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'fast_spec_helper'
|
|
|
|
RSpec.describe Gitlab::Audit::NullTarget do
|
|
subject { described_class.new }
|
|
|
|
describe '#id' do
|
|
it 'returns nil' do
|
|
expect(subject.id).to eq(nil)
|
|
end
|
|
end
|
|
|
|
describe '#type' do
|
|
it 'returns nil' do
|
|
expect(subject.type).to eq(nil)
|
|
end
|
|
end
|
|
|
|
describe '#details' do
|
|
it 'returns nil' do
|
|
expect(subject.details).to eq(nil)
|
|
end
|
|
end
|
|
end
|