Sha256: 5b48086f444e8b6c708a434562d610e9005dd53af8a19d89870815265853588c

Contents?: true

Size: 241 Bytes

Versions: 7

Compression:

Stored size: 241 Bytes

Contents

require 'rails_helper'

RSpec.describe TbCheckout::CartsController, :type => :controller do

  it "should get the current shopping cart" do
    get :show
    expect(response).to be_success
    expect(assigns(:cart)).to_not be_nil
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tb_checkout-1.1.1 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.1.0 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.0.7 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.0.6 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.0.5 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.0.4 spec/controllers/tb_checkout/carts_controller_spec.rb
tb_checkout-1.0.3 spec/controllers/tb_checkout/carts_controller_spec.rb