Sha256: 2c4ee360472e27b7144aa06dcdc42bde9db5e9db6136c3fb7b2c5f693978aec3
Contents?: true
Size: 1.09 KB
Versions: 27
Compression:
Stored size: 1.09 KB
Contents
require 'rails_helper' RSpec.describe Auth::Shopping::DiscountsController, type: :controller do describe "GET #new" do it "returns http success" do get :new expect(response).to have_http_status(:success) end end describe "GET #show" do it "returns http success" do get :show expect(response).to have_http_status(:success) end end describe "GET #edit" do it "returns http success" do get :edit expect(response).to have_http_status(:success) end end describe "GET #index" do it "returns http success" do get :index expect(response).to have_http_status(:success) end end describe "GET #create" do it "returns http success" do get :create expect(response).to have_http_status(:success) end end describe "GET #update" do it "returns http success" do get :update expect(response).to have_http_status(:success) end end describe "GET #destroy" do it "returns http success" do get :destroy expect(response).to have_http_status(:success) end end end
Version data entries
27 entries across 27 versions & 1 rubygems