Sha256: 3c2246c34d0672f9a9d65ad6bb3be022156248ed09e9be4f898cb0538e84c78e

Contents?: true

Size: 424 Bytes

Versions: 8

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

module Archangel
  module TestingSupport
    ##
    # Routing helpers for testing
    #
    module RoutingHelpers
      extend ActiveSupport::Concern

      included do
        routes { Archangel::Engine.routes }
      end
    end
  end
end

RSpec.configure do |config|
  %i[controller routing].each do |type|
    config.include Archangel::TestingSupport::RoutingHelpers, type: type
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.8 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.7 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.6 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.5 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.4 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.3 lib/archangel/testing_support/helpers/routing_helpers.rb
archangel-0.0.2 lib/archangel/testing_support/helpers/routing_helpers.rb