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

Version Path
wordjelly-auth-1.2.8 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.6 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.5 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.4 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.3 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.2 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.1 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.2.0 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.9 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.8 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.7 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.6 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.5 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.4 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.3 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.2 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.1 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.1.0 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.0.9 spec/controllers/auth/shopping/discounts_controller_spec.rb
wordjelly-auth-1.0.8 spec/controllers/auth/shopping/discounts_controller_spec.rb