Sha256: 15e205e024f5be191f2edbb84025685c3cc1bacc80793ad9f139fbf5e8f0e537

Contents?: true

Size: 814 Bytes

Versions: 11

Compression:

Stored size: 814 Bytes

Contents

require 'spec_helper'

describe "routing" do
  it "routes GET /siblings to siblings#index" do
    expect(get: "/siblings").to route_to(
      controller: "siblings",
      action: "index",
    )
  end

  it "routes GET /siblings/deploys to siblings/deploys#index" do
    expect(get: "/siblings/deploys").to route_to(
      controller: "siblings/deploys",
      action: "index",
    )
  end

  it "routes GET /siblings/instructions to siblings/instructions#index" do
    expect(get: "/siblings/instructions").to route_to(
      controller: "siblings/instructions",
      action: "index",
    )
  end

  it "routes POST /webhooks/g5-configurator to webhooks#g5_configurator" do
    expect(post: "/webhooks/g5-configurator").to route_to(
      controller: "webhooks",
      action: "g5_configurator",
    )
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
g5_sibling_deployer_engine-0.7.0 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.6.3 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.6.2 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.6.1 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.5.0 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.4.2 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.4.1 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.4.0 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.3.3 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.3.2 spec/routing/routes_spec.rb
g5_sibling_deployer_engine-0.2.6 spec/routing/routes_spec.rb