Sha256: ab8a14fa00b2b6143050b64088368e03ae9790fe0c66f600bbf0abbbbc63217d
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require 'spec_helper' describe Sprangular::HomeController, type: :controller do context "GET index" do before do allow(controller).to receive_messages(current_spree_user: nil, current_order: nil) get :index, use_route: :sprangular_engine end specify { expect(response).to be_success } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | spec/controllers/home_controller_spec.rb |
sprangular-0.0.1 | spec/controllers/home_controller_spec.rb |