Sha256: 5f81b5a9dd664df0ab662b9b35ce0e8f1edef54175b436c66854fd94225b8c2c

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

require 'spec_helper'

describe 'Enki::PagesController routes' do
      
  it "routes get /pages/my-page to pages#show id: my-page" do
    get("pages/my-page").should route_to('enki/pages#show', :id => 'my-page')
  end
      
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 spec/routing/pages_routing_spec.rb
enki-engine-0.0.4 spec/routing/pages_routing_spec.rb
enki-engine-0.0.3 spec/routing/pages_routing_spec.rb
enki-engine-0.0.2 spec/routing/pages_routing_spec.rb