Sha256: e5ed9e518a8c3e0669b74b07ffd83c7112972ac0b2f0b8a989aadfdecd33e149

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

require 'rails_helper'

module Bouquet
  RSpec.describe Store::MainController, :type => :controller do
    routes { Bouquet::Store::Engine.routes }

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

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 store/spec/controllers/bouquet/store/main_controller_spec.rb
bouquet-0.2.1 store/spec/controllers/bouquet/store/main_controller_spec.rb
bouquet-0.2.0 store/spec/controllers/bouquet/store/main_controller_spec.rb