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.1.18 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.17 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.16 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.15 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.14 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.13 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.12 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.11 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.10 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.9 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.8 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.7 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.5 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.4 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.3 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.2 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.1.0 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.0.89 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.0.87 lib/soaspec/generator/lib/shared_example.rb.erb
soaspec-0.0.86 lib/soaspec/generator/lib/shared_example.rb.erb