File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/grape_entity_matchers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def when(conditions)
31
31
32
32
def using ( other_entity )
33
33
@other_entity = other_entity
34
- @represented_attribute = double ( "RepresetedAttribute " )
34
+ @represented_attribute = double ( "RepresentedAttribute " )
35
35
@other_entity . exposures . keys . each do |key |
36
36
allow ( @represented_attribute ) . to receive ( key ) . and_return ( @other_entity . exposures [ key ] . nil? ? :value : nil )
37
37
end
@@ -84,7 +84,7 @@ def limit_exposure_to_method(entity, method)
84
84
end
85
85
86
86
def check_methods
87
- @representee = double ( "RepresetedObject " )
87
+ @representee = double ( "RepresentedObject " )
88
88
@represented_attribute ||= :value
89
89
90
90
expect ( @representee ) . to receive ( @expected_representable ) . and_return ( @represented_attribute )
You can’t perform that action at this time.
0 commit comments