Sha256: d2cadad0a56d2be21a223b80717257284fdcc62e747a830afbf3a43917210fbf
Contents?: true
Size: 631 Bytes
Versions: 53
Compression:
Stored size: 631 Bytes
Contents
require 'spec_helper' describe Locomotive::Steam::Initializers::Dragonfly do let(:initializer) { Locomotive::Steam::Initializers::Dragonfly.new } subject { ::Dragonfly.app(:steam).plugins[:imagemagick] } describe 'with ImagickMagick' do before { initializer.run } it { is_expected.not_to eq nil } end describe 'missing ImagickMagick' do before do ::Dragonfly::App.destroy_apps expect(File).to receive(:exists?).and_return(false) initializer.run end it { is_expected.to eq nil } after(:all) do Locomotive::Steam::Initializers::Dragonfly.new.run end end end
Version data entries
53 entries across 53 versions & 1 rubygems