Sha256: bbaecf55cc1b8d8424c534c70f488d9be196b17e6b3cafde80796a7bf55683f3
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 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) { double('Other').freeze } it { should be_instance_of(Function::Numeric::Division) } its(:left) { should be(object) } its(:right) { should be(other) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/function/numeric/division/methods/divide_spec.rb |
axiom-0.1.1 | spec/unit/axiom/function/numeric/division/methods/divide_spec.rb |