Sha256: 5312d834c5b275e3208cd00ce74bc61333f0eadfad14d8c040429d8e296b52d9
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [ :unary_plus, :+@ ].each do |method| describe Function::Numeric::UnaryPlus::Methods, "##{method}" do subject { object.send(method) } let(:described_class) { Class.new { include Function::Numeric::UnaryPlus::Methods } } let(:object) { described_class.new.freeze } it { should be_kind_of(Function::Numeric::UnaryPlus) } its(:operand) { should equal(object) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/function/numeric/unary_plus/methods/unary_plus_spec.rb |