We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fa351 commit ccc3cf1Copy full SHA for ccc3cf1
tests/serverspec/spec/shared/hhvm/version.rb
@@ -1,5 +1,11 @@
1
shared_examples 'hhvm::cli::version' do
2
- describe command('php -v') do
+ describe command('hhvm --version') do
3
+ its(:stdout) { should match %r!HipHop VM [0-9]+.[0-9]+.[0-9]+ \(rel\)! }
4
+
5
+ its(:exit_status) { should eq 0 }
6
+ end
7
8
+ describe command('php --version') do
9
its(:stdout) { should match %r!HipHop VM [0-9]+.[0-9]+.[0-9]+ \(rel\)! }
10
11
its(:exit_status) { should eq 0 }
0 commit comments