spec/spec_helper.rb in danger-dangermattic-1.0.2 vs spec/spec_helper.rb in danger-dangermattic-1.1.2

- old
+ new

@@ -26,11 +26,10 @@ # A silent version of the user interface, # it comes with an extra function `.string` which will # strip all ANSI colours from the string. -# rubocop:disable Lint/NestedMethodDefinition def testing_ui @output = StringIO.new def @output.winsize [20, 9999] end @@ -39,10 +38,9 @@ def cork.string out.string.gsub(/\e\[([;\d]+)?m/, '') end cork end -# rubocop:enable Lint/NestedMethodDefinition # Example environment (ENV) def testing_env { 'HAS_JOSH_K_SEAL_OF_APPROVAL' => 'true',