debian-mirror-gitlab/spec/routing/instance_statistics_routing_spec.rb

12 lines
310 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
require 'spec_helper'
describe 'Instance Statistics', 'routing' do
include RSpec::Rails::RequestExampleGroup
2020-01-01 13:55:28 +05:30
it "routes '/-/instance_statistics' to dev ops score" do
expect(get('/-/instance_statistics')).to redirect_to('/-/instance_statistics/dev_ops_score')
2018-11-18 11:00:15 +05:30
end
end