e900e53aa5
No matter which environment Gitlab was running as, the admin/logs view always showed production.log. This commit selects the logfile based on Rails.env. - Rename ProductionLogger to EnvironmentLogger - Make EnvironmentLogger logfile depend on env - Update spinach test for log tabs
11 lines
337 B
Ruby
11 lines
337 B
Ruby
class Spinach::Features::AdminLogs < Spinach::FeatureSteps
|
|
include SharedAuthentication
|
|
include SharedPaths
|
|
include SharedAdmin
|
|
|
|
step 'I should see tabs with available logs' do
|
|
expect(page).to have_content 'test.log'
|
|
expect(page).to have_content 'githost.log'
|
|
expect(page).to have_content 'application.log'
|
|
end
|
|
end
|