You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe SiteUpload do
|
|
describe '#cache_key' do
|
|
let(:site_upload) { described_class.new(var: 'var') }
|
|
|
|
it 'returns cache_key' do
|
|
expect(site_upload.cache_key).to eq 'site_uploads/var'
|
|
end
|
|
end
|
|
end
|