Sha256: 2644825a4c3e214204cc01d43b1ef87169fc72736fb46c3d6540d3531cf0201a

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

require "spec_helper"

# NOTE: May not be supported on Rails 3 and require Rails 4+
module FitterHappier
  RSpec.describe "FitterHappier routing spec", 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

10 entries across 10 versions & 1 rubygems

Version Path
nulogy-fitter-happier-1.5.2 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.5.1 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.5.0 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.3.1 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.3.0 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.2.0 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.1.4 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.1.3 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.1.2 spec/fitter_happier_routing_spec.rb
nulogy-fitter-happier-1.1.1 spec/fitter_happier_routing_spec.rb