Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 2489016

Browse files
authored
Merge pull request #44 from orien/build
Get test suite passing
2 parents 7661588 + 986b9d8 commit 2489016

5 files changed

Lines changed: 67 additions & 62 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
script: "./script/cibuild"
33
gemfile: "this/does/not/exist"
44
rvm:
5-
- "1.8.7"
6-
- "1.9.3"
5+
- "2.0.0"

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source "https://rubygems.org"
22

3-
gem "cardboard", "~> 1.0"
3+
gem "cardboard"

Gemfile.lock

Lines changed: 61 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,81 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.3.5)
5-
ansi (1.4.3)
6-
boxen (1.5.2)
4+
addressable (2.3.8)
5+
ansi (1.5.0)
6+
boxen (2.9.0)
77
ansi (~> 1.4)
88
hiera (~> 1.0)
9-
highline (~> 1.6)
9+
highline (~> 1.6.0)
1010
json_pure (>= 1.7.7, < 2.0)
11-
librarian-puppet (~> 0.9.9)
12-
octokit (~> 1.15)
13-
puppet (~> 3.0)
14-
cardboard (1.0.4)
15-
boxen (~> 1.0)
11+
librarian-puppet (~> 1.0.0)
12+
octokit (~> 2.7, >= 2.7.1)
13+
puppet (~> 3.7)
14+
cardboard (2.1.0)
15+
boxen (~> 2.1)
1616
puppet-lint (~> 0.3)
1717
puppetlabs_spec_helper (~> 0.4)
18-
rspec-puppet (~> 0.1)
19-
diff-lcs (1.2.5)
20-
facter (1.7.3)
21-
faraday (0.8.8)
22-
multipart-post (~> 1.2.0)
23-
faraday_middleware (0.9.0)
24-
faraday (>= 0.7.4, < 0.9)
25-
hashie (2.0.5)
26-
hiera (1.2.1)
18+
rspec-puppet (~> 1.0)
19+
diff-lcs (1.3)
20+
facter (2.4.6)
21+
faraday (0.9.2)
22+
multipart-post (>= 1.2, < 3)
23+
hiera (1.3.4)
2724
json_pure
28-
highline (1.6.20)
29-
json (1.8.1)
30-
json_pure (1.8.1)
31-
librarian-puppet (0.9.10)
32-
json
25+
highline (1.6.21)
26+
json (2.1.0)
27+
json_pure (1.8.6)
28+
librarian (0.1.2)
29+
highline
3330
thor (~> 0.15)
34-
metaclass (0.0.1)
35-
mocha (0.14.0)
31+
librarian-puppet (1.0.9)
32+
json
33+
librarian (>= 0.1.2)
34+
metaclass (0.0.4)
35+
mocha (1.2.1)
3636
metaclass (~> 0.0.1)
37-
multi_json (1.8.2)
38-
multipart-post (1.2.0)
39-
netrc (0.7.7)
40-
octokit (1.25.0)
41-
addressable (~> 2.2)
42-
faraday (~> 0.8)
43-
faraday_middleware (~> 0.9)
44-
hashie (~> 2.0)
45-
multi_json (~> 1.3)
46-
netrc (~> 0.7.7)
47-
puppet (3.3.2)
48-
facter (~> 1.6)
37+
multipart-post (2.0.0)
38+
octokit (2.7.2)
39+
sawyer (~> 0.5.2)
40+
puppet (3.8.7)
41+
facter (> 1.6, < 3)
4942
hiera (~> 1.0)
50-
rgen (~> 0.6.5)
43+
json_pure
5144
puppet-lint (0.3.2)
52-
puppetlabs_spec_helper (0.4.1)
53-
mocha (>= 0.10.5)
45+
puppet-syntax (2.4.0)
5446
rake
55-
rspec (>= 2.9.0)
56-
rspec-puppet (>= 0.1.1)
57-
rake (10.1.0)
58-
rgen (0.6.6)
59-
rspec (2.14.1)
60-
rspec-core (~> 2.14.0)
61-
rspec-expectations (~> 2.14.0)
62-
rspec-mocks (~> 2.14.0)
63-
rspec-core (2.14.7)
64-
rspec-expectations (2.14.4)
65-
diff-lcs (>= 1.1.3, < 2.0)
66-
rspec-mocks (2.14.4)
67-
rspec-puppet (0.1.6)
47+
puppetlabs_spec_helper (0.10.3)
48+
mocha
49+
puppet-lint
50+
puppet-syntax
51+
rake
52+
rspec-puppet
53+
rake (12.0.0)
54+
rspec (3.6.0)
55+
rspec-core (~> 3.6.0)
56+
rspec-expectations (~> 3.6.0)
57+
rspec-mocks (~> 3.6.0)
58+
rspec-core (3.6.0)
59+
rspec-support (~> 3.6.0)
60+
rspec-expectations (3.6.0)
61+
diff-lcs (>= 1.2.0, < 2.0)
62+
rspec-support (~> 3.6.0)
63+
rspec-mocks (3.6.0)
64+
diff-lcs (>= 1.2.0, < 2.0)
65+
rspec-support (~> 3.6.0)
66+
rspec-puppet (1.0.1)
6867
rspec
69-
thor (0.18.1)
68+
rspec-support (3.6.0)
69+
sawyer (0.5.5)
70+
addressable (~> 2.3.5)
71+
faraday (~> 0.8, < 0.10)
72+
thor (0.19.4)
7073

7174
PLATFORMS
7275
ruby
7376

7477
DEPENDENCIES
75-
cardboard (~> 1.0)
78+
cardboard
79+
80+
BUNDLED WITH
81+
1.15.0

spec/classes/postgresql__config_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
let(:facts) { default_test_facts }
55

66
it do
7-
should include_class('boxen::config')
7+
should contain_class('boxen::config')
88

99
%w(data/postgresql-9.5 log/postgresql-9.5).each do |d|
1010
should contain_file("/test/boxen/#{d}").with_ensure(:directory)
@@ -13,7 +13,7 @@
1313
contain_sysctl__set("kern.sysv.shmmax")
1414
contain_sysctl__set("kern.sysv.shmall")
1515

16-
should include_class("boxen::config")
16+
should contain_class("boxen::config")
1717
should contain_boxen__env_script("postgresql")
1818
should contain_file("/Library/LaunchDaemons/dev.postgresql.plist")
1919
end
@@ -22,7 +22,7 @@
2222
let(:facts) { default_test_facts.merge(:operatingsystem => "Ubuntu") }
2323

2424
it do
25-
should_not include_class("boxen::config")
25+
should_not contain_class("boxen::config")
2626

2727
should_not contain_boxen__env_script("postgresql")
2828
should_not contain_file("/Library/LaunchDaemons/dev.postgresql.plist")

spec/defines/postgresql_db_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
let(:title) { 'testdb' }
66

77
it do
8-
should include_class("postgresql")
8+
should contain_class("postgresql")
99

1010
should contain_exec("postgresql-db-#{title}").with({
1111
:command => "/test/boxen/homebrew/bin/createdb -p15432 -E UTF-8 -O testuser #{title}",

0 commit comments

Comments
 (0)