Skip to content

Commit bf42d97

Browse files
committed
fix specs
1 parent ee3bebf commit bf42d97

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
+ bashly generate
2+
creating user files in src
3+
skipped src/root_command.sh (exists)
4+
created ./download
5+
run ./download --help to test your bash script
16
+ ./download some_source
27
common_function called
38
cloud_function called

spec/bashly/settings_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@
107107
context 'when set using env var as a comma delimited string' do
108108
before { ENV['BASHLY_EXTRA_LIB_DIRS'] = 'one,two' }
109109
after { ENV['BASHLY_EXTRA_LIB_DIRS'] = nil }
110-
110+
111111
it 'converts comma delimited string to an array' do
112112
expect(subject.extra_lib_dirs).to match_array %w[one two]
113113
end
114114
end
115115

116116
context 'when provided as an array' do
117117
let(:config) { Config.new({ 'extra_lib_dirs' => %w[item1 item2] }) }
118-
118+
119119
it 'returns the array as is' do
120120
allow(subject).to receive(:user_settings).and_return(config)
121121
expect(subject.extra_lib_dirs).to match_array %w[item1 item2]

0 commit comments

Comments
 (0)