Sha256: 18821d48c1356eb26aa0621d6e401858447cb39aa932a04509e6e801a699d2f4
Contents?: true
Size: 662 Bytes
Versions: 4
Compression:
Stored size: 662 Bytes
Contents
require 'rails_helper' RSpec.describe DogController, :type => :controller do describe "GET one" do it "returns http success" do get :one expect(response).to have_http_status(:success) expect(assigns(:dog)).to eq("before one and two") end end describe "GET two" do it "returns http success" do get :two expect(response).to have_http_status(:success) expect(assigns(:dog)).to eq("before one and two") end end describe "GET three" do it "returns http success" do get :three expect(response).to have_http_status(:success) expect(assigns(:dog)).to eq("three") end end end
Version data entries
4 entries across 4 versions & 1 rubygems