Sha256: b6ad99acc6ae0bdb471f9f190fae3276c4fe0b2534eafd0639233942c224dee6
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
require 'rails_helper' module Popolo RSpec.describe PeopleController, type: :routing do describe 'routing' do routes { Engine.routes } it 'routes to #show' do expect(get: '/people/1').to route_to('popolo/people#show', id: '1') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.1.1 | spec/routing/popolo/people_routing_spec.rb |
popolo-0.1.0 | spec/routing/popolo/people_routing_spec.rb |