turniere-backend/spec/routing/matches_routing_spec.rb

12 lines
246 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe MatchesController, type: :routing do
describe 'routing' do
it 'routes to #show' do
expect(get: '/matches/1').to route_to('matches#show', id: '1')
end
end
end