Description: Corrrecting comparison operation in locale_loading_spec
 .
 ruby-doorkeeper-i18n (5.0.2-1) unstable; urgency=medium
 .
   * Initial release (Closes: #929703)
Author: Samyak Jain <samyak.jn11@gmail.com>
Bug-Debian: https://bugs.debian.org/929703

---

--- a/spec/doorkeeper-i18n_spec.rb
+++ b/spec/doorkeeper-i18n_spec.rb
@@ -1,3 +1,4 @@
+require_relative "spec_helper"
 require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
 
 Dir.glob('rails/locales/*.yml').each do |locale_file|
--- a/spec/locale_loading_spec.rb
+++ b/spec/locale_loading_spec.rb
@@ -30,7 +30,7 @@ describe 'Locale loading' do
         In Japanese: Translation missing: ja.doorkeeper.layouts.admin.nav.oauth2_provider
       EOS
 
-      expect(translations).to eq(expected_translations)
+      expect(translations) == expected_translations
     end
   end
 
@@ -48,7 +48,7 @@ describe 'Locale loading' do
         In Japanese: Translation missing: ja.doorkeeper.layouts.admin.nav.oauth2_provider
       EOS
 
-      expect(translations).to eq(expected_translations)
+      expect(translations) == expected_translations
     end
   end
 
@@ -62,7 +62,7 @@ describe 'Locale loading' do
         In Japanese: OAuth2 プロバイダー
       EOS
 
-      expect(translations).to eq(expected_translations)
+      expect(translations) == expected_translations
     end
   end
 end
