[DRE-commits] [ruby-nori] 02/02: Update for RSpec3

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Wed Jul 22 18:31:15 UTC 2015


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

tsfgnu-guest pushed a commit to branch patch-queue/master
in repository ruby-nori.

commit 724347462c5ee42f4c8f9b68c7c0a97403481493
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Tue Jul 14 18:41:17 2015 +0300

    Update for RSpec3
---
 spec/nori/core_ext/object_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/nori/core_ext/object_spec.rb b/spec/nori/core_ext/object_spec.rb
index 73e50ec..ba8ae45 100644
--- a/spec/nori/core_ext/object_spec.rb
+++ b/spec/nori/core_ext/object_spec.rb
@@ -5,13 +5,13 @@ describe Object do
   describe "#blank?" do
     [nil, false, [], {}].each do |object|
       it "should return true for: #{object.inspect}" do
-        expect(object.blank?).to be_true
+        expect(object.blank?).to be_truthy
       end
     end
 
     [true, [nil], 1, "string", { :key => "value" }].each do |object|
       it "should return false for: #{object.inspect}" do
-        expect(object.blank?).to be_false
+        expect(object.blank?).to be_falsey
       end
     end
   end

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



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