Sha256: dce0d5ee8004eb90a9960b6b5774a704a6209a169de0d3f78ba07dcfc2c04de7

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

require 'rails_helper'

module Popolo
  RSpec.describe MembershipsController, type: :routing do
    describe 'routing' do
      routes { Engine.routes }

      it 'routes to #show' do
        expect(get: '/memberships/1').to route_to('popolo/memberships#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/memberships_routing_spec.rb
popolo-0.1.0 spec/routing/popolo/memberships_routing_spec.rb