Sha256: 7996c6a1a4aba787c324d76159fb1dad0c30f523cc96dbdb1355305e2807848a

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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