Skip to content

Commit 094653f

Browse files
committed
remove puts from specs
1 parent ea253a5 commit 094653f

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

‎.rubocop.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,3 @@ RSpec/ExampleLength:
3636
- 'spec/bashly/integration/**/*'
3737
- 'spec/bashly/libraries/render*'
3838
- 'spec/bashly/script/command_spec.rb'
39-
40-
# Allow `puts` in some specs
41-
RSpec/Output:
42-
Exclude:
43-
- spec/bashly/integration/**/*

‎spec/bashly/integration/rendering_mandoc_spec.rb‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
cp "examples/#{example}/src/bashly.yml", "#{source_dir}/bashly.yml"
2424
end
2525

26-
it 'renders properly' do
26+
it 'renders all documents properly' do
2727
expect { subject.execute %W[render :mandoc #{target}] }
2828
.to output_approval("rendering/mandoc/#{example}/stdout")
2929

3030
Dir["#{target}/*.md"].each do |file|
31-
puts " => #{file}"
3231
basename = File.basename file
3332
expect(File.read file).to match_approval("rendering/mandoc/#{example}/#{basename}")
3433
.diff(leeway)

‎spec/bashly/integration/rendering_markdown_spec.rb‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
cp "examples/#{example}/src/bashly.yml", "#{source_dir}/bashly.yml"
2424
end
2525

26-
it 'renders properly' do
26+
it 'renders all documents properly' do
2727
expect { subject.execute %W[render :markdown #{target}] }
2828
.to output_approval("rendering/markdown/#{example}/stdout")
2929

3030
Dir["#{target}/*.md"].each do |file|
31-
puts " => #{file}"
3231
basename = File.basename(file)
3332

3433
expect(File.read(file))

0 commit comments

Comments
 (0)