mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8 lines
244 B
Ruby
8 lines
244 B
Ruby
![]() |
describe :numeric_quo_18, shared: true do
|
||
|
it "returns the result of calling self#/ with other" do
|
||
|
obj = mock_numeric('numeric')
|
||
|
obj.should_receive(:/).with(19).and_return(:result)
|
||
|
obj.send(@method, 19).should == :result
|
||
|
end
|
||
|
end
|