require "rails_helper"

RSpec.describe Tcm::ArquivosController, type: :routing do
  describe "routing" do

    it "roteia para #index" do
      expect(:get => "/tcm/arquivos").to route_to("tcm/arquivos#index")
    end

    it "roteia para #downloadindex" do
      expect(:get => "/tcm/arquivos/1/download").to route_to("tcm/arquivos#download", id: "1")
    end

  end
end
