Sha256: 997ee8822fb104e930775f471c5a1e05149dfdd55183633afb587311aa2280e8
Contents?: true
Size: 404 Bytes
Versions: 4
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe RSpec::Hive::DbName do describe '.random_name' do subject { described_class.random_name } before do allow(described_class).to receive(:timestamp).and_return('timestamp') allow(described_class).to receive(:random_key).and_return('randomKey') end it { is_expected.to eq('timestamp_randomKey') } end end
Version data entries
4 entries across 4 versions & 1 rubygems