そのまんまHuman
のinvite
メソッドのargumentとしてname
を受け取りまっせという見。
name = "yumo-san" expect(Human).to receive(:invite).with(name)
happiness (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) (^_^) happiness
そのまんまHuman
のinvite
メソッドのargumentとしてname
を受け取りまっせという見。
name = "yumo-san" expect(Human).to receive(:invite).with(name)