Sha256: 80706f6df4c0ea29061fbac00357f3ea1017d4b94ef0efa8da7cf5d12877c09a

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'

describe OpenConferenceWare::ProposalsController do
  routes { OpenConferenceWare::Engine.routes }

  describe "route recognition" do

    it "should generate params { controller: 'proposals', action => 'sessions_index' } from GET /sessions" do
      {get: "/sessions"}.should route_to(controller: "open_conference_ware/proposals", action: "sessions_index")
    end
      
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre1 spec/controllers/open_conference_ware/sessions_routing_spec.rb