Sha256: cc9cba610e35b912302647349696aa5b7fc4131eaf97a1b89dde237736deb51f
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Proposition, '#call' do subject { object.call } let(:described_class) { Class.new(Function::Proposition) } let(:object) { described_class.new } it 'calls self.class.call' do response = double('#call response') described_class.should_receive(:call).and_return(response) should be(response) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/function/proposition/call_spec.rb |