1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Cosmetic: Whitespace

This commit is contained in:
Joshua Clayton 2010-06-22 14:14:52 -04:00
parent 226f5b8f63
commit e2ae4a2596
27 changed files with 148 additions and 151 deletions

View file

@ -41,14 +41,12 @@ module Shoulda # :nodoc:
self
end
def not_with(value)
raise "You may not call both with and not_with" if @value_to_pass
@value_to_fail = value
self
end
def matches?(subject)
super(subject)
@expected_message ||= :blank

View file

@ -19,7 +19,6 @@ module Shoulda # :nodoc:
false
end
private
def allows_value_of(value, message = nil)