Sha256: 434eb451ba95b1835d0ad32b241a830f735ea83d1dac61a429921fec58e6c3e6

Contents?: true

Size: 165 Bytes

Versions: 65

Compression:

Stored size: 165 Bytes

Contents

require 'rspec'

shared_examples_for 'error scenario' do
  it 'does not have status code of 200' do
    expect(described_class.status_code).not_to eq 200
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
soaspec-0.3.11 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.10 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.9 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.8 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.7 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.6 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.3 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.2 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.3.1 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.32 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.31 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.30 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.29 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.28 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.27 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.26 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.25 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.23 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.22 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.21 lib/soaspec/generator/lib/shared_example.rb.erb