summaryrefslogtreecommitdiff
path: root/spec/routing/profiles_routing_spec.rb
blob: b87b31ef45078a92dc4b825b0422e6313c2626d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rails_helper'

describe ProfilesController do
  describe "routing" do
    it "routes to index" do
      expect(get: '/profiles/').to route_to("profiles#index")
    end

    it "routes to #show" do
      expect(get: "/profiles/1").to route_to("profiles#show", id: "1")
    end
  end
end