09 Oct '17, 3am

Episode 100 - Basic Testing Introduction in Rails #ruby #rubyonrails #testing

require 'test_helper' class UsersControllerTest < ActionDispatch::IntegrationTest setup do @user = users(:one) end test "should get index" do get users_url assert_response :success end test "should get new" do get new_user_url assert_response :success end test "should create user" do assert_difference('User.count') do post users_url, params: { user: { email: @user.email, first_name: @user.first_name, last_name: @user.last_name } } end assert_redirected_to user_url(User.last) end test "should show user" do get user_url(@user) assert_response :success end test "should get edit" do get edit_user_url(@user) assert_response :success end test "should update user" do patch user_url(@user), params: { user: { email: @user.email, first_name: @user.first_name, last_name: @user.last_name } } assert_redirected_to user_url(@user) end test "should destroy user" do assert_difference('User...

Full article: https://www.driftingruby.com/episodes/basic-testing-intro...

Tweets

[Screencast] Basic Testing Introduction in Rails

rubyflow.com 09 Oct '17, 1pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Took a break from writing to put a little ❤️ in...

everydayrails.com 06 Oct '17, 3pm

Testing with RSpec book updated for 2017 I've released the first seven chapters (plus one) of an all new edition of my pop...

Vanilla Rails

rubyflow.com 09 Oct '17, 12pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

The 95/5 Guide To Ruby and Rails 5

rubyflow.com 09 Oct '17, 1pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Why startup coders need to know Ruby on Rails

Why startup coders need to know Ruby on Rails

route.overnewser.com 07 Oct '17, 12pm

Why startup coders need to know Ruby on Rails Your startup's new favorite language. Source : mashable.com Check more artic...

Ruby & Ruby on Rails Tutorial

Ruby & Ruby on Rails Tutorial

wewebdevelopment.tumblr.com 08 Oct '17, 5pm

Coding basic websites with HTML & CSS - for Kids / Beginners ☞ http://deal.codetrick.net/p/HkmcODXFWtW

#job Ruby on Rails Developer - Brussels - Smals...

ictjob.be 09 Oct '17, 8am

Meer dan 1750 professionals omarmen bij Smals elke dag de toekomst door zich in te zetten voor ICT for Society. Hoogtechno...

Using Codeship Basic to Test Ruby on Rails Appl...

blog.codeship.com 13 Oct '17, 5pm

Codeship offers developers a vast array of possibilities when creating a continuous integration and deployment pipeline fo...

Ruby & Ruby on Rails Tutorial

dev.codetrick.net 08 Oct '17, 5pm

Want to learn about Ruby, the language specifically designed to make developers’ lives easier? Spend some time with the ex...

Ruby on Rails: An Introduction

coursera.org 30 Sep '17, 2am

Did you ever want to build a web application? Perhaps you even started down that path in a language like Java or C#, when ...

Testing not-ruby web apps with Capybara and RSp...

ynonperek.com 01 Oct '17, 9am

We'll use Chrome as it's a very popular browser your users are probably using. On top of that we'll use Selenium. Selenium...

Toptal LLC: Ruby on Rails Developer

weworkremotely.com 06 Oct '17, 10am

We are looking for a Ruby on Rails developer to be responsible for managing the interchange of data between the server and...

Gaijin Guide to #RubyKaigi #ruby #rails #rubyon...

rubyonrails.ba 06 Oct '17, 8pm

RubyKaigi is the premiere Ruby conference held once a year in Japan. It’s huge. This year there were about 1000 developers...

F-35A fighter jet coming to Alaskan Air Force b...

defensenews.com 06 Oct '17, 12pm

FAIRBANKS, Alaska — A fighter jet will be at Eielson Air Force Base, Alaska, for testing this month. The F-35A Lighting II...

Google testing blue

searchengineland.com 04 Oct '17, 2pm

Google is testing a new way to label AMP content in the mobile search results. Instead of using a gray AMP lightning bolt ...