This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
|
# 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
|