Sha256: c44379902a405c203137ec17616b510bfab040e9e47d2f6b8d8356b8cdda7ea5
Contents?: true
Size: 516 Bytes
Versions: 5
Compression:
Stored size: 516 Bytes
Contents
require 'rails_helper' describe "routing to release_notes" do routes { ReleaseNotes::Engine.routes } it "routes /release_notes to release_notes#index" do expect(:get => "/").to route_to( :controller => "release_notes/release_notes", :action => "index" ) end it "routes /release_notes/:version to release_notes#show" do expect(:get => "/:version").to route_to( :controller => "release_notes/release_notes", :action => "show", :version => ":version" ) end end
Version data entries
5 entries across 5 versions & 1 rubygems