From a0fed4a9d049ac9bc78c7cb325900a74ca6a10ce Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Fri, 14 Aug 2015 00:22:48 +0200 Subject: [PATCH] Clean up last commit #853 --- .rspec | 2 +- lib/common/collections/wp_items/detectable.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rspec b/.rspec index 9c3c126f..ba44b749 100644 --- a/.rspec +++ b/.rspec @@ -1,2 +1,2 @@ --color -#--fail-fast +--fail-fast diff --git a/lib/common/collections/wp_items/detectable.rb b/lib/common/collections/wp_items/detectable.rb index 96ca5057..cbcfd47d 100755 --- a/lib/common/collections/wp_items/detectable.rb +++ b/lib/common/collections/wp_items/detectable.rb @@ -178,7 +178,7 @@ class WpItems < Array when :all item_names = [*json].map { |item| item['name'] } else - raise "Known type #{type}" + raise "Unknown type #{type}" end item_names.each do |item_name|