Sha256: 628429cde7377c92e2a219cbd731fb71155c04ba3c51a3cc076ab5eda8d14f02
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe RedisWebManager::ActionsController, type: :routing do routes { RedisWebManager::Engine.routes } describe 'routing' do it 'routes to #flushdb' do expect(delete: '/flushdb').to( route_to('redis_web_manager/actions#flushdb') ) end it 'routes to #flushall' do expect(delete: '/flushall').to( route_to('redis_web_manager/actions#flushall') ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_web_manager-0.1.6 | spec/routing/actions_controller_spec.rb |