Rails 6 API Tutorial - API Tests with RSpec p.9

  Рет қаралды 15,121

Rails Pro

Rails Pro

Күн бұрын

Пікірлер: 18
@indrasusila00
@indrasusila00 10 ай бұрын
amazing tutorial series, t's still relevant on rails 7. to be honnest, i just learn ROR just on 2 days. thanks, & blassed for you sir
@railspro
@railspro 10 ай бұрын
Thank you for your kind words. I’m glad it helped!
@lukapavicic7501
@lukapavicic7501 4 жыл бұрын
Great approach to teaching Rails! I really like how you debug your errors in the video and show the real problems programmers face while developing and not just working by some script on your second monitor.
@ahmedmustafa775
@ahmedmustafa775 2 жыл бұрын
Thanks man, this series helped me a lot ❤
@mrcallumfleming
@mrcallumfleming Жыл бұрын
This is great thank you, I'm just a little confused as to how the FactoryBot creates a book when we have not explicitly told the factory that is creates Books (as in the model)
@sharvyahmed
@sharvyahmed 3 жыл бұрын
Thanks man, keep doing the great work.
@marroquinyt
@marroquinyt 3 жыл бұрын
Great video! I have a question about testing routes that require authentication. Lests imagine I have a route to return user information, but that routes requires the user to be authenticated with a JWT. How should I test that route?
@2G1B
@2G1B 4 жыл бұрын
Really good tutorial man! I just subscribed to your channel. Hope to see some more in-depth rails testing tutorials. Thanks!
@aknkrstozkn
@aknkrstozkn 4 жыл бұрын
Good work sir, keep it up!
@amandatiemannjussianicioba333
@amandatiemannjussianicioba333 4 жыл бұрын
Would you know if Rspec_rails would work on ruby 2.7. I am new at testing and when I run rspec command I get this message: ✗ rspec rbenv: rspec: command not found The `rspec' command exists in these Ruby versions: 2.6.6 Thank you for your video, your explanations are most helpful
@amandatiemannjussianicioba333
@amandatiemannjussianicioba333 4 жыл бұрын
@@railspro Hey Tom, thank you so much for your answer. I ended up having problems with my rbenv. But is all working now. Thanks again for your help. Cheers
@rtfm-inc
@rtfm-inc 4 жыл бұрын
rspec did not work for me originally, but gave me a suggestion: sudo apt install ruby-rspec-core - did that and it worked.
@procyu
@procyu 4 жыл бұрын
Thank for the content! It helps a lot!
@al-mokhtar_
@al-mokhtar_ 3 жыл бұрын
thanks mate, can we see how to test jwt ?
@al-mokhtar_
@al-mokhtar_ 3 жыл бұрын
@@railspro sorry just found it hhhh thanks a lot
@vibhanshujain864
@vibhanshujain864 2 жыл бұрын
For me generate commands give me usage can someone suggest: rails generate rspec:install Usage: rails new APP_PATH [options] . . . Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
@adrianoneynascimentodoamar7503
@adrianoneynascimentodoamar7503 4 жыл бұрын
Very good video!! Congratulations! I am looking to test request with authentication. I've looked on several sites but every way I try, it goes wrong! I am using the device and simple_token_authentication 1.0 gem for authentication, ruby 2.7.2, rails 6.0.3 and rspec 4.0.0. Can you help me?
@adrianoneynascimentodoamar7503
@adrianoneynascimentodoamar7503 4 жыл бұрын
@@railspro I sent it now, thank you so much.
Rails 6 API Tutorial - RSpec API Tests POST/DELETE p.10
13:55
Rails 6 API Tutorial - Model Associations p.11
9:59
Rails Pro
Рет қаралды 9 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Rspec request specs for an API Controller with Rails
13:32
CJ Avilla (cjav_dev)
Рет қаралды 10 М.
Testing a Rails API with Request Specs (Test Driven RSpec, Ep 02)
23:23
RSpec Tutorial #1: Getting Started With RSpec
9:00
Conner Jensen
Рет қаралды 21 М.
Do NOT Write Another Project Until You Watch This Video
10:24
Anthony GG
Рет қаралды 12 М.
Basic rspec Ruby on Rails model specs
24:27
CJ Avilla (cjav_dev)
Рет қаралды 17 М.
Rails 6 API Tutorial - API Pagination p.15
17:33
Rails Pro
Рет қаралды 6 М.
Floating toggle-able terminal in Neovim in 50 lines of Lua
11:09
RSpec Tutorial for Beginners
11:17
BrainTrust Digital
Рет қаралды 11 М.