2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe 'Instance Statistics', 'routing' do
|
2018-11-18 11:00:15 +05:30
|
|
|
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
|