Sha256: 89908e98aae5193c175c3bdd755c6a62b6c71e2d01ffcbf87b37d5229c45cc3e

Contents?: true

Size: 286 Bytes

Versions: 15

Compression:

Stored size: 286 Bytes

Contents

require "spec_helper"

describe Flyboy::TaskCommentsController, type: :routing do
  describe "routing" do
    routes { Flyboy::Engine.routes }

    it "routes to #create" do
      post("/tasks/1/comments").should route_to("flyboy/task_comments#create", task_id: "1")
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flyboy-1.1.0 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.7 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.6 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.5 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.4 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.3 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.2 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.1 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-1.0.0 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.6 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.5 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.4 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.3 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.2 spec/routes/flyboy/task_comments_routing_spec.rb
flyboy-0.0.1 spec/routes/flyboy/task_comments_routing_spec.rb