Skip to content

Commit

Permalink
fix php version serverspec for RC
Browse files Browse the repository at this point in the history
  • Loading branch information
htuscher committed Nov 4, 2018
1 parent 02611ee commit cabb66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/serverspec/spec/shared/php/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

shared_examples 'php7::cli::version' do
describe command('php -v') do
its(:stdout) { should match %r!PHP 7\.[0-9]\.[0-9]{1,2}(-[^\(]*)? \(cli\)! }
its(:stdout) { should match %r!PHP 7\.[0-9]\.[0-9]{1,2}(RC[0-9])?(-[^\(]*)? \(cli\)! }

its(:exit_status) { should eq 0 }
end
Expand Down

0 comments on commit cabb66e

Please sign in to comment.