Sha256: b108561576774a224739cef25bf314958850be40e2433a0c4de0d9a9d77f4cc0

Contents?: true

Size: 688 Bytes

Versions: 7

Compression:

Stored size: 688 Bytes

Contents

require 'spec_helper'
require 'generator_spec/test_case'
require 'generators/refinery/images/images_generator'

module Refinery
  describe ImagesGenerator do
    include GeneratorSpec::TestCase
    destination File.expand_path("../../../../tmp", __FILE__)

    before do
      prepare_destination
      run_generator %w[--skip-migrations]
    end

    specify do
      destination_root.should have_structure {
        directory "config" do
          directory "initializers" do
            directory "refinery" do
              file "images.rb" do
                contains "Refinery::Images.configure"
              end
            end
          end
        end
      }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-images-2.1.5 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.1.4 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.1.3 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.1.2 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.1.1 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.1.0 spec/lib/generators/refinery/images/images_generator_spec.rb
refinerycms-images-2.0.10 spec/lib/generators/refinery/images/images_generator_spec.rb