Sha256: 0166f12aec5de0784e8fd03c03e0ef89cc31aedee6dfd6d6432e4e949c05b641
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
# encoding: utf-8 shared_examples_for 'a method filter parse result' do before do expected_class.stub(:new => response) end let(:response) { double('Response') } it { should be(response) } it 'should initialize method filter with correct arguments' do expected_class.should_receive(:new) .with(TestApp::Literal, :string) .and_return(response) subject end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.3.0.rc1 | test_app/spec/shared/method_filter_parse_behavior.rb |
mutant-0.3.0.beta22 | test_app/spec/shared/method_filter_parse_behavior.rb |