Sha256: 156736a7b6e85714a41c101cbeee78e12b16e258d86203800371b95e15695357

Contents?: true

Size: 418 Bytes

Versions: 10

Compression:

Stored size: 418 Bytes

Contents

require 'spec_helper'

describe Spree::Admin::StoresController do
  stub_authorization!

  describe '#index' do
    render_views

    it 'renders' do
      spree_get :index
      expect(response).to be_success
    end
  end

  describe '#edit' do
    render_views

    let(:store) { create(:store) }

    it 'renders' do
      spree_get :edit, id: store.to_param
      expect(response).to be_success
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_multi_domain-1.5.0 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.4.3 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.4.2 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.4.1 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.4.0 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.3.0 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.2.0 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.1.3 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.1.2 spec/controllers/spree/admin/stores_controller_spec.rb
solidus_multi_domain-1.1.1 spec/controllers/spree/admin/stores_controller_spec.rb