Blame SOURCES/rubygem-sprockets-2.12.1-assert_no_equal-is-gone.patch

d43be8
From 9be057ce5804492c7c5bd1b20ba7da49c5538740 Mon Sep 17 00:00:00 2001
d43be8
From: Joshua Peek <josh@joshpeek.com>
d43be8
Date: Tue, 20 Aug 2013 18:23:52 -0500
d43be8
Subject: [PATCH] assert_not_equal is gone
d43be8
d43be8
---
d43be8
 test/test_environment.rb | 8 ++++----
d43be8
 test/test_server.rb      | 2 +-
d43be8
 2 files changed, 5 insertions(+), 5 deletions(-)
d43be8
d43be8
diff --git a/test/test_environment.rb b/test/test_environment.rb
d43be8
index a4d9ccb..c26798d 100644
d43be8
--- a/test/test_environment.rb
d43be8
+++ b/test/test_environment.rb
d43be8
@@ -477,8 +477,8 @@ def setup
d43be8
     require 'digest/sha1'
d43be8
     @env.digest_class = Digest::SHA1
d43be8
 
d43be8
-    assert_not_equal old_digest, @env.digest
d43be8
-    assert_not_equal old_asset_digest, @env["gallery.js"].digest
d43be8
+    assert old_digest != @env.digest
d43be8
+    assert old_asset_digest != @env["gallery.js"].digest
d43be8
   end
d43be8
 
d43be8
   test "changing digest version" do
d43be8
@@ -487,8 +487,8 @@ def setup
d43be8
 
d43be8
     @env.version = 'v2'
d43be8
 
d43be8
-    assert_not_equal old_digest, @env.digest
d43be8
-    assert_not_equal old_asset_digest, @env["gallery.js"].digest
d43be8
+    assert old_digest != @env.digest
d43be8
+    assert old_asset_digest != @env["gallery.js"].digest
d43be8
   end
d43be8
 
d43be8
   test "bundled asset is stale if its mtime is updated or deleted" do
d43be8
diff --git a/test/test_server.rb b/test/test_server.rb
d43be8
index 41e263d..9fdffb5 100644
d43be8
--- a/test/test_server.rb
d43be8
+++ b/test/test_server.rb
d43be8
@@ -98,7 +98,7 @@ def app
d43be8
       get "/assets/application.js"
d43be8
       time_after_modifying = last_response.headers['Last-Modified']
d43be8
 
d43be8
-      assert_not_equal time_before_modifying, time_after_modifying
d43be8
+      assert time_before_modifying != time_after_modifying
d43be8
     end
d43be8
   end
d43be8
 
d43be8
-- 
d43be8
1.9.3
d43be8