Created
November 12, 2018 09:41
-
-
Save Tocacar/84ad161f428b9c38d65c2db3129a09f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.describe "Users", type: :request do | |
describe "request list of all users" do | |
user = User.create(name: “Test user”) | |
get users_path | |
expect(response).to be_successful | |
expect(response.body).to include(“Test user”) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment