Sha256: 74ce292ab8924c2bb60dd4c663ab54e5837c9967770df88069786700418bff4c
Contents?: true
Size: 449 Bytes
Versions: 9
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe RedisWebManager::ConfigurationController, type: :routing do routes { RedisWebManager::Engine.routes } let(:default) do RedisWebManager.redises.keys[0] end describe 'routing' do it 'routes to #index' do expect(get: "/#{default}/configuration").to( route_to('redis_web_manager/configuration#index', instance: default.to_s) ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems