This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 )
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
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" )
Original file line number Diff line number Diff line change 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 } " ,
You can’t perform that action at this time.
0 commit comments