RSpec TDD - How To Unit Test Ruby On Rails 6 Apps For Absolute Beginners | 20in20 - Week 14

  Рет қаралды 25,212

Deanin

Deanin

Күн бұрын

Пікірлер: 15
@Deanin
@Deanin 4 жыл бұрын
Hoping this helps someone! Important links below! The blog post for this tutorial is available when this video goes live at deanin.com/blog/rspec-rails Channel Discord is available at discord.gg/vumKwDk
@marcusl16
@marcusl16 2 жыл бұрын
Still working, was so good have seen this video, I'm trying to go into rails hardly just wanna see after your walking arround for SEO and other themes a test for an rails api. thank for all
@cherryramatis2508
@cherryramatis2508 3 жыл бұрын
this is exactly what i needed so long, thank you!
@prodbyindigo
@prodbyindigo 3 жыл бұрын
really helpful getting me ready for an interview thanks
@Deanin
@Deanin 3 жыл бұрын
Good luck with the interview!!!
@THE720SKATERS
@THE720SKATERS 4 жыл бұрын
Thank you this was very helpful
@Deanin
@Deanin 4 жыл бұрын
Glad it helped!
@railsdev973
@railsdev973 3 жыл бұрын
This is really helpful. Thank you !!!
@jandrei32
@jandrei32 4 жыл бұрын
could you do a video on deploying a rails api project to a digital ocean droplet? all ive found is heroku, or rails apps with front end enabled which doesnt seem to play nice with the --api flag
@Deanin
@Deanin 4 жыл бұрын
Yeah, this is actually a really interesting idea. I'll add it to the list. I think that setting up a production app for an API and a front end would be a really good exercise!
@daniloalves7440
@daniloalves7440 2 жыл бұрын
Is there any difference between this rails version and the rails 7 about this tutorial? Edit: If anybody tries to do that using rails 7 probably you may face different configurations, for example, when you install rspec the file "test_helper.rb" isn't on the spec folder.
@justinclark9258
@justinclark9258 2 жыл бұрын
Just get rvm and switch versions
@coding_with_pc
@coding_with_pc Жыл бұрын
😍✌🤗
@nitishanand4644
@nitishanand4644 3 жыл бұрын
I am not able to write a test helper to use current_user in all the files inside specs/views. Can anybody help me with this?
@marcusl16
@marcusl16 2 жыл бұрын
idk if is too late but just on spec folder create anew file called for example post_helper.rb, after that, create a method like def default_user #put all the userstuff here end and on your spec files on top put the require 'post_helper' i recommend to use just after the Rspec.describe a let var to get the method return like this RSpec.describe Post, type: :model do let(:current_user) {default_user}... u'll can call the current_user as Dean showed us on this awesome tuto.
How to RSpec - Fairly comprehensive starter guide to RSpec
2:08:55
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 40 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
The 3 Types of Unit Test in TDD
17:19
Continuous Delivery
Рет қаралды 103 М.
RSpec spec_helper vs rails_helper Explained
20:27
Brett Codes
Рет қаралды 827
TDD Is The Best Design Technique
19:26
Continuous Delivery
Рет қаралды 52 М.
RailsConf 2015 - Understanding Rails test types in RSpec
27:02
Basic rspec Ruby on Rails model specs
24:27
CJ Avilla (cjav_dev)
Рет қаралды 17 М.
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 572 М.
THIS stops 90% of C# Developers Learning TDD
19:40
Gui Ferreira
Рет қаралды 15 М.
C# Unit Testing - Full Course - Write Unit Tests in C# like a pro!
1:22:12
tutorialsEU - C#
Рет қаралды 50 М.
TDD in Ruby on Rails made easy
16:08
Alberto Almagro
Рет қаралды 2,4 М.