lib/assert_same.rb in assert_same-0.6 vs lib/assert_same.rb in assert_same-0.6.1

- old
+ new

@@ -202,12 +202,12 @@ internal_error("Invalid expected class #{excepted.class}") end # interactive mode is turned on by default, except when # - --no-interactive is given - # - CIRCLE_CI is set (CircleCI captures test output, but doesn't interact with user) + # - CIRCLECI is set (CircleCI captures test output, but doesn't interact with user) # - STDIN is not a terminal device (i.e. we can't ask any questions) - interactive = !$assert_same_options.include?("--no-interactive") && !ENV["CIRCLE_CI"] && STDIN.tty? + interactive = !$assert_same_options.include?("--no-interactive") && !ENV["CIRCLECI"] && STDIN.tty? canonicalize = !$assert_same_options.include?("--no-canonicalize") autoaccept = $assert_same_options.include?("--autoaccept") is_same_canonicalized, is_same, diff_canonicalized, diff = compare_for_assert_same(expected, actual)