Sha256: c57066b15201e369c4b733df7a6be7f5a79f54196055f6a032beabfb98c90787
Contents?: true
Size: 273 Bytes
Versions: 3
Compression:
Stored size: 273 Bytes
Contents
require 'spec_helper' describe 'Usual example' do subject { 2 + 2 } context 'success' do specify { expect(subject).to eq(4) } end context 'failed' do specify { expect(subject).to eq(5) } end context 'pending' do it 'should be pending' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-example_steps-3.1.1 | spec/regression_spec.rb |
rspec-example_steps-3.1.0 | spec/regression_spec.rb |
rspec-example_steps-3.0.2 | spec/regression_spec.rb |