Sha256: c7175683a0411f7a3599cfcf0c6b9ac00daa412a9d768e102f46069d4e568fce

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

require File.join(File.dirname(__FILE__), '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

7 entries across 7 versions & 1 rubygems

Version Path
updateable_views_inheritance-1.4.3 test/install_generator_test.rb
updateable_views_inheritance-1.4.2 test/install_generator_test.rb
updateable_views_inheritance-1.4.1 test/install_generator_test.rb
updateable_views_inheritance-1.4.0 test/install_generator_test.rb
updateable_views_inheritance-1.3.0 test/install_generator_test.rb
updateable_views_inheritance-1.2.2 test/install_generator_test.rb
updateable_views_inheritance-1.2.1 test/install_generator_test.rb