Sha256: bd26cfa4fe28f3f87e097a5c45114daa831851618cea1bb560e097d4ee99ac91

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 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

2 entries across 2 versions & 1 rubygems

Version Path
updateable_views_inheritance-1.2.0 test/install_generator_test.rb
updateable_views_inheritance-1.1.2 test/install_generator_test.rb