1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
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
|