Browse files

whitespace

  • Loading branch information...
1 parent d0773b1 commit 60a58ec9808a0acbec3b9965d48a61f87d5669e8 David Chelimsky committed Sep 12, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/rspec/matchers/generated_descriptions.rb
View
5 lib/rspec/matchers/generated_descriptions.rb
@@ -13,9 +13,9 @@ def self.generated_description
return nil if last_should.nil?
"#{last_should.to_s.gsub('_',' ')} #{last_description}"
end
-
+
private
-
+
def self.last_description
last_matcher.respond_to?(:description) ? last_matcher.description : <<-MESSAGE
When you call a matcher in an example without a String, like this:
@@ -33,4 +33,3 @@ def self.last_description
end
end
end
-

0 comments on commit 60a58ec

Please sign in to comment.