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:
parent
226f5b8f63
commit
e2ae4a2596
27 changed files with 148 additions and 151 deletions
|
@ -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
|
||||
|
|
|
@ -19,7 +19,6 @@ module Shoulda # :nodoc:
|
|||
false
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
def allows_value_of(value, message = nil)
|
||||
|
|
Loading…
Reference in a new issue