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