Sha256: b4e25030ede3722b02dff04b487c9845ec352c175f6ee0944f18771402a2ffb9
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
require 'rails_helper' module Popolo RSpec.describe PostsController, type: :routing do describe 'routing' do routes { Engine.routes } it 'routes to #show' do expect(get: '/posts/1').to route_to('popolo/posts#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/posts_routing_spec.rb |
popolo-0.1.0 | spec/routing/popolo/posts_routing_spec.rb |