diff --git a/spec/bash_support_spec.rb b/spec/bash_support_spec.rb index 342f9be..31d052b 100644 --- a/spec/bash_support_spec.rb +++ b/spec/bash_support_spec.rb @@ -4,7 +4,7 @@ it 'returns current ruby version' do copy_file '.ruby-version' expect(run('ruby -v')).to have_output( - "ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]\n" + start_with('ruby 3.2.2 (2023-03-30 revision e51014f9c0)') ) end