add user scaffold
This commit is contained in:
9
spec/routing/users_routing_spec.rb
Normal file
9
spec/routing/users_routing_spec.rb
Normal 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
|
||||
Reference in New Issue
Block a user