Sha256: 11bb395f9001e23d922e14c7b865cbab810af1f33156820795a256141865ee3a

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

# encoding: utf-8

shared_examples_for 'a functional command method' do
  it 'returns object of described_class' do
    should be_kind_of(described_class)
  end

  it 'should return a new object' do
    should_not be(object)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
response-0.0.5 spec/shared/functional_command_method_behavior.rb
response-0.0.4 spec/shared/functional_command_method_behavior.rb
response-0.0.3 spec/shared/functional_command_method_behavior.rb
response-0.0.2 spec/shared/functional_command_method_behavior.rb