Sha256: 52ac32e21355e662422820695a1f5fd24535ee723867b8f72fb61849ed28bbc2

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

require 'test_helper'

require 'rails/generators/aslon_settings/aslon_settings_generator'

class InstallGeneratorTest < Rails::Generators::TestCase
  tests AslonSettingsGenerator
  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination

  test "Assert all files are properly created" do
    run_generator
    assert_migration "db/migrate/create_admin_params.rb"
    assert_migration "db/migrate/create_admin_item_params.rb"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
aslon_settings-0.1.7 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.1.6 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.1.5 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.1.4 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.1.3 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.1.2 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.0.2 test/generator/aslon_settings_generator_test.rb
aslon_settings-0.0.1 test/generator/aslon_settings_generator_test.rb