Sha256: e7d289a6571c25c63bbb920ec6bddb55079720b1c1bacc100feac4fb516b5f92

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH << File.join(File.dirname(__FILE__), %w{ .. .. })
require 'test_helper'
require 'generators/webhookr/add_route_generator'

class InitGeneratorTest < Rails::Generators::TestCase
  tests Webhookr::Generators::AddRouteGenerator
  destination File.expand_path('../../../tmp', File.dirname(__FILE__))
  setup :prepare_destination

  test 'it should add the engine to routes' do
    run_generator
    # TODO: Not sure how to confirm the route was added, so just run it for now
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webhookr-0.3.0 test/integration/webhookr/add_route_generator_test.rb