add user scaffold

This commit is contained in:
João Victor Geonizeli
2022-02-27 14:46:30 -03:00
parent cec57e0ad2
commit 011a8cdb77
16 changed files with 163 additions and 19 deletions

View File

@@ -0,0 +1,9 @@
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