Skip to content

Commit ccc3cf1

Browse files
committed
Fix hhvm cli tests
1 parent 70fa351 commit ccc3cf1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/serverspec/spec/shared/hhvm/version.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
shared_examples 'hhvm::cli::version' do
2-
describe command('php -v') do
2+
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
39
its(:stdout) { should match %r!HipHop VM [0-9]+.[0-9]+.[0-9]+ \(rel\)! }
410

511
its(:exit_status) { should eq 0 }

0 commit comments

Comments
 (0)