Sha256: 2bc2720bab77b9485beca736f0412cd8c814d95bf993060a69ab9e1f323d23cf

Contents?: true

Size: 484 Bytes

Versions: 3

Compression:

Stored size: 484 Bytes

Contents

$: << 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

3 entries across 3 versions & 1 rubygems

Version Path
webhookr-0.2.0 test/integration/webhookr/add_route_generator_test.rb
webhookr-0.1.0 test/integration/webhookr/add_route_generator_test.rb
webhookr-0.0.2 test/integration/webhookr/add_route_generator_test.rb