Sha256: 769efb7bbfa0789bcd2e6f3a1ccf828c0779060d775f61b795909b62b95835fa

Contents?: true

Size: 364 Bytes

Versions: 13

Compression:

Stored size: 364 Bytes

Contents

shared_examples_for 'a method filter parse result' do
  before do
    expected_class.stub(:new => response)
  end

  let(:response) { mock('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

13 entries across 13 versions & 1 rubygems

Version Path
mutant-0.3.0.beta14 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta13 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta12 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta11 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta10 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta9 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta8 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta7 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta6 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta5 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta4 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta3 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.3.0.beta2 test_app/spec/shared/method_filter_parse_behavior.rb