Sha256: f1872789f9d8252bbd2ffc15e789b5347cefafc4bdddc5316efe584621d26b65

Contents?: true

Size: 671 Bytes

Versions: 11

Compression:

Stored size: 671 Bytes

Contents

require 'spec_helper'
require 'generator_spec/test_case'
require 'generators/refinery/core/core_generator'

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

    before do
      prepare_destination
      run_generator
    end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.1.4 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.1.3 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.1.2 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.1.1 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.1.0 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.0.10 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.0.9 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.0.8 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.0.7 spec/lib/generators/refinery/core/core_generator_spec.rb
refinerycms-core-2.0.6 spec/lib/generators/refinery/core/core_generator_spec.rb