Sha256: 3f13cf1bdf38cb445ff0a035aaafee495421799bf0050d67f93c1489743a8a57

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'

require_relative '../../../lib/generators/aureus/setup/setup_generator'

describe Aureus::Generators::SetupGenerator, type: :generator do
  destination File.expand_path('../../../../tmp/gen', __FILE__)

  before do
    prepare_destination
    run_generator
  end

  it 'creates initializer file' do
    assert_file 'config/initializers/aureus.rb'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aureus-3.0.5 spec/lib/generators/setup_spec.rb
aureus-3.0.4 spec/lib/generators/setup_spec.rb