Sha256: 5b0cedf59a331871354b1b82434d3a50a783f3a1d2ba2c203feff9b53b9a308b

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

require 'rails_helper'

RSpec.describe HelloController, type: :controller do
  describe 'GET #index' do
    it 'returns http success' do
      get :index
      expect(response).to have_http_status(:success)
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rack-action_logger-0.1.0 example/rails4/spec/controllers/hello_controller_spec.rb
rack-action_logger-0.1.0 example/rails5/spec/controllers/hello_controller_spec.rb