Skip to content

Commit 8f9512e

Browse files
committed
fix typo error
1 parent 6af46b1 commit 8f9512e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/grape_entity_matchers/represent_matcher.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def when(conditions)
3131

3232
def using(other_entity)
3333
@other_entity = other_entity
34-
@represented_attribute = double("RepresetedAttribute")
34+
@represented_attribute = double("RepresentedAttribute")
3535
@other_entity.exposures.keys.each do |key|
3636
allow(@represented_attribute ).to receive(key).and_return( @other_entity.exposures[key].nil? ? :value : nil)
3737
end
@@ -84,7 +84,7 @@ def limit_exposure_to_method(entity, method)
8484
end
8585

8686
def check_methods
87-
@representee = double("RepresetedObject")
87+
@representee = double("RepresentedObject")
8888
@represented_attribute ||= :value
8989

9090
expect(@representee).to receive(@expected_representable).and_return(@represented_attribute)

0 commit comments

Comments
 (0)