-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathphp_spec.rb
More file actions
48 lines (46 loc) · 935 Bytes
/
php_spec.rb
File metadata and controls
48 lines (46 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
describe Travis::Yml::Schema::Def::Php do
subject { Travis::Yml.schema[:definitions][:language][:php] }
# it { puts JSON.pretty_generate(subject) }
it do
should include(
'$id': :php,
title: 'PHP',
summary: kind_of(String),
see: kind_of(Hash),
type: :object,
properties: {
php: {
'$ref': '#/definitions/type/strs',
flags: [
:expand
],
only: {
language: [
'php'
]
}
},
jdk: {
'$ref': '#/definitions/type/jdks',
flags: [
:expand
],
only: {
language: [
'php'
]
},
},
composer_args: {
type: :string,
only: {
language: [
'php'
]
}
}
},
normal: true
)
end
end