Sha256: 18fd25cba53808950fb9d00f27a1bbc61e03aa4dd28e00af6883da2feb2b20e3

Contents?: true

Size: 366 Bytes

Versions: 19

Compression:

Stored size: 366 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

19 entries across 18 versions & 1 rubygems

Version Path
mutant-0.2.20 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.17 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.16 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.15 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.14 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.13 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.12 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.11 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.9 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.8 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.7 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.6 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.5 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.4 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.3 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.2 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.1 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.0 test_app/spec/shared/method_filter_parse_behavior.rb
mutant-0.2.0 spec/shared/method_filter_parse_behavior.rb