Sha256: 902e97e2096c12261034d6c9c482a8ce296fa031318dd4e8bb63ff145862f3e0

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

require 'spec_helper'

describe Popolo::PostsController do
  describe 'routing' do
    routes { Popolo::Engine.routes }

    it 'routes to #show' do
      get('/posts/1').should route_to('popolo/posts#show', id: '1')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
popolo-0.0.3 spec/routing/popolo/posts_routing_spec.rb