Skip to content

Commit

Permalink
replace assert false, ... with refute
Browse files Browse the repository at this point in the history
  • Loading branch information
Crunch09 committed Aug 7, 2016
1 parent d158d73 commit 539154a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_plugin_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def with_no_gemfile
context "JEKYLL_NO_BUNDLER_REQUIRE set to `true`" do
should "not require from bundler" do
with_env("JEKYLL_NO_BUNDLER_REQUIRE", "true") do
assert_equal false, Jekyll::PluginManager.require_from_bundler,
refute Jekyll::PluginManager.require_from_bundler,
"Gemfile plugins were required but shouldn't have been"
assert ENV["JEKYLL_NO_BUNDLER_REQUIRE"]
end
Expand All @@ -32,7 +32,7 @@ def with_no_gemfile
should "not require from bundler" do
with_env("JEKYLL_NO_BUNDLER_REQUIRE", nil) do
with_no_gemfile do
assert_equal false, Jekyll::PluginManager.require_from_bundler,
refute Jekyll::PluginManager.require_from_bundler,
"Gemfile plugins were required but shouldn't have been"
assert_nil ENV["JEKYLL_NO_BUNDLER_REQUIRE"]
end
Expand Down

0 comments on commit 539154a

Please sign in to comment.