Sha256: 0a79da10f2272885b44eab5fa3460ac120f03fa22e74a07df15943802ba22b58

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'

describe RetinaRails::CarrierWave do

  it 'should raise a deprection error when included the old way' do
    expect do
      class DeprecatedUploader < CarrierWave::Uploader::Base
        include RetinaRails::CarrierWave
      end
    end.to raise_error(RetinaRails::DeprecationError)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
retina_rails-1.0.4 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.3 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.2 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.1 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.0 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.0.beta2 spec/deprecation/carrierwave_spec.rb
retina_rails-1.0.0.beta1 spec/deprecation/carrierwave_spec.rb