10 lines
209 B
Ruby
10 lines
209 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe UsersController, type: :routing do
|
|
describe "routing" do
|
|
it "routes to #show" do
|
|
expect(get: "/users/1").to route_to("users#show", id: "1")
|
|
end
|
|
end
|
|
end
|