This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-02-22 16:00:20 +01:00
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
RSpec.describe HomeController, type: :controller do
|
2016-02-25 00:17:01 +01:00
|
|
|
describe 'GET #index' do
|
2016-09-27 23:23:23 +02:00
|
|
|
it 'redirects to about page' do
|
2016-02-29 19:42:08 +01:00
|
|
|
get :index
|
2016-09-27 23:23:23 +02:00
|
|
|
expect(response).to redirect_to(about_path)
|
2016-02-29 19:42:08 +01:00
|
|
|
end
|
2016-02-25 00:17:01 +01:00
|
|
|
end
|
2016-02-22 16:00:20 +01:00
|
|
|
end
|