Skip to content

Commit

Permalink
Make specs display Ruby warnings if any are found
Browse files Browse the repository at this point in the history
  • Loading branch information
buehmann authored and bbatsov committed Oct 25, 2019
1 parent 8839777 commit f7baecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
.lines
.grep(%r{/lib/rubocop}) # ignore warnings from dependencies

expect(warnings.empty?).to be(true)
expect(warnings).to eq []
end
end
end

0 comments on commit f7baecd

Please sign in to comment.