Sha256: 752b2b5aae517fd75860ba40b483565007583007a63a777ce2dfc4957099dca5

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require 'generators/lokalise_rails/install_generator'

describe LokaliseRails::Generators::InstallGenerator do
  before do
    remove_config
  end

  after do
    remove_config
    add_config!
  end

  it 'installs config file properly' do
    described_class.start
    expect(File.file?(config_file)).to be true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lokalise_rails-5.0.1 spec/lib/generators/lokalise_rails/install_generator_spec.rb
lokalise_rails-5.0.0 spec/lib/generators/lokalise_rails/install_generator_spec.rb