Sha256: deccab08a9553cbb42f328c4037ae31959a918f5b6481966eb0ac4dac7aaaa17
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 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_kind_of(Function::Numeric::Division) } its(:left) { should equal(object) } its(:right) { should equal(other) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/function/numeric/division/methods/divide_spec.rb |