Sha256: d7ceac443d9f62d6c1a2af9c401f8793046b3a145e21fb95abdabe84e22627e9

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

require 'generator_spec'
require 'rails_helper'
require 'spec_helper'
require 'generators/wine_bouncer/initializer_generator'

describe WineBouncer::Generators::InitializerGenerator, type: :generator do
  destination '/tmp'

  before do
    prepare_destination
    run_generator
  end

  it 'creates a test initializer' do
    assert_file 'config/initializers/wine_bouncer.rb', /WineBouncer\.configure/
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wine_bouncer-0.5.0 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb
wine_bouncer-0.4.0 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb
wine_bouncer-0.3.1 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb
wine_bouncer-0.3.0 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb
wine_bouncer-0.2.2 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb
wine_bouncer-0.2.1 spec/lib/generators/wine_bouncer/initializer_generator_spec.rb