mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 23:41:37 +01:00
13 lines
279 B
Ruby
13 lines
279 B
Ruby
# 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
|