Adjust linter feedbback HTML add missing chevron for folding. #5
Annotations
5 errors and 3 notices
|
slim-lint
Process completed with exit code 65.
|
|
lint
Process completed with exit code 1.
|
|
test:
spec/controllers/submissions_controller_spec.rb#L216
SubmissionsController with a learner behaves like a regular user GET #render_file with a valid filename with a binary file sets the correct redirect
Failure/Error: expect(response.location).to eq signed_url_video
expected: "http://test.host/uploads/render_files/854/devstories.mp4?token=***"
got: "http://test.host/uploads/render_files/854/devstories.mp4?token=***"
(compared using ==)
Shared Example Group: "a regular user" called from ./spec/controllers/submissions_controller_spec.rb:368
|
|
test:
spec/system/editor_system_spec.rb#L118
Editor contains resizer contains a vertical resizer
Failure/Error: response = http_connection.post url, body.to_json
WebMock::NetConnectNotAllowedError:
Real HTTP connections are disabled. Unregistered request: POST https://runners.example.org/runners with body '{"executionEnvironmentId":275,"inactivityTimeout":180}' with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Connection'=>'keep-alive', 'Content-Type'=>'application/json', 'Keep-Alive'=>'30', 'Poseidon-Token'=>'SECRET', 'User-Agent'=>'Faraday v2.12.2'}
You can stub this request with the following snippet:
stub_request(:post, "https://runners.example.org/runners").
with(
body: "{\"executionEnvironmentId\":275,\"inactivityTimeout\":180}",
headers: {
'Accept'=>'*/*',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Connection'=>'keep-alive',
'Content-Type'=>'application/json',
'Keep-Alive'=>'30',
'Poseidon-Token'=>'SECRET',
'User-Agent'=>'Faraday v2.12.2'
}).
to_return(status: 200, body: "", headers: {})
============================================================
|
|
test
Process completed with exit code 1.
|
|
[rubocop] spec/system/editor_system_spec.rb#L113 <RSpec/ContextWording>:
spec/system/editor_system_spec.rb#L113
Context description should match /^when\b/, /^with\b/, or /^without\b/.
|
|
[rubocop] spec/system/editor_system_spec.rb#L117 <RSpec/EmptyLineAfterExample>:
spec/system/editor_system_spec.rb#L117
Add an empty line after `it`.
|
|
[rubocop] spec/system/editor_system_spec.rb#L120 <Capybara/ClickLinkOrButtonStyle>:
spec/system/editor_system_spec.rb#L120
Use `click_link_or_button` or `click_on` instead of `click_button`.
|