Skip to content

Commit

Permalink
Review updates
Browse files Browse the repository at this point in the history
Co-Authored-By: Artur Trzop <arturtrzop@gmail.com>
  • Loading branch information
Pacyfik and ArturT committed Mar 11, 2024
1 parent 8da0732 commit 10de75b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/integration/runners/queue/rspec_runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def log_command_result(stdout, stderr, status)

actual = subject

expect(actual.stdout.scan(/--require rails_helper/).size).to eq 0
expect(actual.stdout).to_not include('--require rails_helper')

expect(actual.exit_code).to eq 0
end
Expand Down Expand Up @@ -431,7 +431,7 @@ def log_command_result(stdout, stderr, status)

actual = subject

expect(actual.stdout.scan(/--require rails_helper/).size).to eq 3
expect(actual.stdout).to include('--require rails_helper')
expect(actual.stdout.scan(/RSpec_before_suite_hook_from_rails_helper/).size).to eq 1
expect(actual.stdout.scan(/RSpec_after_suite_hook_from_rails_helper/).size).to eq 1

Expand Down Expand Up @@ -465,6 +465,7 @@ def log_command_result(stdout, stderr, status)
SPEC

spec_c = Spec.new('c_spec.rb', <<~SPEC)
require 'rails_helper'
describe 'C_describe' do
it 'C1 test example' do
expect(1).to eq 1
Expand Down

0 comments on commit 10de75b

Please sign in to comment.