Sha256: 89e258ae62da26a133c88825b89fc50bd935417911882c2915e3932d19298e24

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Attachy::File, '#config' do
  before do
    allow(Rails.application).to receive(:config_for).with(:attachy) { :config }
  end

  it 'returns the config data' do
    expect(described_class.config).to eq :config
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
attachy-0.4.0 spec/models/attachy/file/config_spec.rb
attachy-0.3.0 spec/models/attachy/file/config_spec.rb
attachy-0.2.0 spec/models/attachy/file/config_spec.rb