Sha256: 1d031355469f27060d89c0b956844964e0daedb6189f3298d2e7284b935cd55b

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

require 'rails_helper'

RSpec.describe TbCommerce::Api::TransactionsController, type: :controller do

  describe "GET #create" do
    it "returns http success" do
      get :create
      expect(response).to have_http_status(:success)
    end
  end

  describe "GET #capture" do
    it "returns http success" do
      get :capture
      expect(response).to have_http_status(:success)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 spec/controllers/tb_commerce/api/transactions_controller_spec.rb
tb_commerce-0.0.3 spec/controllers/tb_commerce/api/transactions_controller_spec.rb
tb_commerce-0.0.2 spec/controllers/tb_commerce/api/transactions_controller_spec.rb