Sha256: ee5afb055ebffdac2d269e7da6c19cbee464a96fb4ffffd2917f8167a475f1d6

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe RedisWebManager::ClientsController, type: :routing do
  routes { RedisWebManager::Engine.routes }

  describe 'routing' do
    it 'routes to #index' do
      expect(get: '/clients').to(
        route_to('redis_web_manager/clients#index')
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_web_manager-0.2.1 spec/routing/clients_controller_spec.rb
redis_web_manager-0.2.0 spec/routing/clients_controller_spec.rb
redis_web_manager-0.1.8 spec/routing/clients_controller_spec.rb
redis_web_manager-0.1.6 spec/routing/clients_controller_spec.rb