Sha256: e881c255c0c6cf948d78a92fd9ae5c41ce946156c0ea51131809298c884fe70e
Contents?: true
Size: 453 Bytes
Versions: 18
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe Mutant::Matcher::Method, '.parse' do subject { described_class.parse(input) } let(:response) { mock('Response') } let(:input) { mock('Input') } let(:classifier) { described_class::Classifier } before do classifier.stub(:run => response) end it { should be(response) } it 'should call classifier' do classifier.should_receive(:run).with(input).and_return(response) subject end end
Version data entries
18 entries across 18 versions & 1 rubygems