Sha256: df7f9c2d5625ad9ae0f0f73f5d9c05f04c7d66e5cf6e3606941b742c0cbbabfe

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

require "spec_helper"

# NOTE: May not be supported on Rails 3 and require Rails 4+
module FitterHappier
  RSpec.describe "FitterHappierRoutingSpec", type: :routing do
    routes { FitterHappier::Engine.routes }

    it "tests routing" do
      expect(get: "fitter_happier").to route_to(controller: "fitter_happier/heartbeat", action: "index")
      expect(get: "fitter_happier/site_check").to route_to(controller: "fitter_happier/heartbeat", action: "site_check")
      expect(get: "fitter_happier/site_and_database_check").to route_to(controller: "fitter_happier/heartbeat", action: "site_and_database_check")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nulogy-fitter-happier-1.1.0 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.0.0 spec/fitter_happier_routing_spec.rb