Sha256: 3d215775460d2b790eb0de4a3c4301be8c67d4fadc11e3fd81a8da7367a22689
Contents?: true
Size: 458 Bytes
Versions: 20
Compression:
Stored size: 458 Bytes
Contents
require "rails_helper" RSpec.describe Dorsale::Alexandrie::AttachmentsController, type: :routing do routes { Dorsale::Engine.routes } describe "routing" do it "#create" do expect(post "/alexandrie/attachments").to \ route_to("dorsale/alexandrie/attachments#create") end it "#destroy" do expect(delete "/alexandrie/attachments/3").to \ route_to("dorsale/alexandrie/attachments#destroy", id: "3") end end end
Version data entries
20 entries across 20 versions & 1 rubygems