Sha256: 65539f264a9bbd400f94cf9a72e545eaf0d21618451b343068cde1714c9148d3
Contents?: true
Size: 606 Bytes
Versions: 4
Compression:
Stored size: 606 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [ :divide, :/ ].each do |method| describe Function::Numeric::Division::Methods, "##{method}" do subject { object.send(method, other) } let(:described_class) { Class.new { include Function::Numeric::Division::Methods } } let(:object) { described_class.new.freeze } let(:other) { mock('Other').freeze } it { should be_instance_of(Function::Numeric::Division) } its(:left) { should equal(object) } its(:right) { should equal(other) } end end
Version data entries
4 entries across 4 versions & 2 rubygems