Sha256: 2ac801e2477743f5ed9bcd7d4851a881db5986075b80b4f0368991600b5feb7f

Contents?: true

Size: 392 Bytes

Versions: 8

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Archangel
  module TestingSupport
    ##
    # Controller helpers for testing
    #
    module ControllerHelpers
      extend ActiveSupport::Concern

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

RSpec.configure do |config|
  config.include Archangel::TestingSupport::ControllerHelpers, type: :controller
end

Version data entries

8 entries across 8 versions & 1 rubygems

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