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.2.20 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.19 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.18 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.17 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.16 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.15 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.14 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.13 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.12 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.11 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.10 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.9 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.8 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.7 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.5 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.4 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.3 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.2 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.1 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.2.0 lib/soaspec/generator/lib/shared_example.rb.erb