[DRE-commits] [ruby-fast-gettext] 05/05: remove bogus tests

Dmitry Borodaenko angdraug at moszumanska.debian.org
Sat Oct 18 20:00:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

angdraug pushed a commit to branch patch-queue/master
in repository ruby-fast-gettext.

commit 584cad2e566e5e37a809a2d27fb5c4ed7934381c
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Wed Sep 3 01:51:33 2014 +0000

    remove bogus tests
    
    These tests should not be passing. Yet they do. Something is
    wrong and it's unclear what to do. So let's remove the tests
    that we can't trust.
---
 spec/fast_gettext/vendor/string_spec.rb | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/spec/fast_gettext/vendor/string_spec.rb b/spec/fast_gettext/vendor/string_spec.rb
index 3969528..d1a6da6 100644
--- a/spec/fast_gettext/vendor/string_spec.rb
+++ b/spec/fast_gettext/vendor/string_spec.rb
@@ -82,21 +82,4 @@ describe String do
       ("%{typo} xxx" % {:something=>1}).should == "%{typo} xxx"
     end
   end
-
-  describe 'with i18n loaded' do
-    let(:pending_condition) { (RUBY_VERSION < "1.9" and ActiveRecord::VERSION::MAJOR == 3) or (ActiveRecord::VERSION::MAJOR == 4 and ActiveRecord::VERSION::MINOR == 0)}
-    let(:ruby) { File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) }
-
-    it "interpolates if i18n is loaded before" do
-      pending_if pending_condition, "does not work on ree + rails 3 or rails 4"  do
-        system("#{ruby} spec/cases/interpolate_i18n_before_fast_gettext.rb  > /dev/null 2>&1").should == true
-      end
-    end
-
-    it "interpolates if i18n is loaded before" do
-      pending_if pending_condition, "does not work on ree + rails 3 or rails 4"  do
-        system("#{ruby} spec/cases/interpolate_i18n_after_fast_gettext.rb > /dev/null 2>&1").should == true
-      end
-    end
-  end
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fast-gettext.git



More information about the Pkg-ruby-extras-commits mailing list