Sha256: 1b36c599403acded6d9f4a62508c27b94b020264f3082c1afa01767c8e728e6a

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

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.1.2 spec/models/attachy/file/config_spec.rb
attachy-0.1.1 spec/models/attachy/file/config_spec.rb
attachy-0.1.0 spec/models/attachy/file/config_spec.rb