This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/controllers/home_controller_spec.rb
Eugen Rochko 2603c7e69f Fix tests
2016-09-27 23:23:23 +02:00

11 lines
224 B
Ruby

require 'rails_helper'
RSpec.describe HomeController, type: :controller do
describe 'GET #index' do
it 'redirects to about page' do
get :index
expect(response).to redirect_to(about_path)
end
end
end