12 lines
300 B
Ruby
12 lines
300 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'spec_helper'
|
||
|
|
||
|
RSpec.describe MetricImageUploader do
|
||
|
describe '.workhorse_local_upload_path' do
|
||
|
it 'returns path that includes uploads dir' do
|
||
|
expect(described_class.workhorse_local_upload_path).to end_with('/uploads/tmp/uploads')
|
||
|
end
|
||
|
end
|
||
|
end
|