Sha256: 749ecee3724d57d0e491937effb6a9bde8b2251974a3ee0a33ee32ebb497583a

Contents?: true

Size: 425 Bytes

Versions: 5

Compression:

Stored size: 425 Bytes

Contents

require_relative 'test_helper'
require 'generators/updateable_views_inheritance/install_generator'

class InstallGeneratorTest < Rails::Generators::TestCase
  destination File.join(Rails.root, "tmp")
  setup :prepare_destination
  tests UpdateableViewsInheritance::Generators::InstallGenerator

  test "create migration" do
    run_generator
    assert_migration 'db/migrate/create_updateable_views_inheritance.rb'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
updateable_views_inheritance-1.4.8 test/install_generator_test.rb
updateable_views_inheritance-1.4.7 test/install_generator_test.rb
updateable_views_inheritance-1.4.6 test/install_generator_test.rb
updateable_views_inheritance-1.4.5 test/install_generator_test.rb
updateable_views_inheritance-1.4.4 test/install_generator_test.rb