ad985a7a28
Remove .raw from JavaScript fixture file names
Closes #59201
See merge request gitlab-org/gitlab-ce!26430
(cherry picked from commit 79a45f7f02
)
26 lines
531 B
Ruby
26 lines
531 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'Sessions (JavaScript fixtures)' do
|
|
include JavaScriptFixturesHelpers
|
|
|
|
before(:all) do
|
|
clean_frontend_fixtures('sessions/')
|
|
end
|
|
|
|
describe SessionsController, '(JavaScript fixtures)', type: :controller do
|
|
include DeviseHelpers
|
|
|
|
render_views
|
|
|
|
before do
|
|
set_devise_mapping(context: @request)
|
|
end
|
|
|
|
it 'sessions/new.html' do |example|
|
|
get :new
|
|
|
|
expect(response).to be_success
|
|
store_frontend_fixture(response, example.description)
|
|
end
|
|
end
|
|
end
|