Sha256: c7e7d9cc4b61eea7a8252b9c7ff4cd3c3aa1e925dfa5224ca99eecdc7568677e
Contents?: true
Size: 1.08 KB
Versions: 11
Compression:
Stored size: 1.08 KB
Contents
shared_context "turnip_formatter scenario setup" do |assertion| let(:example) do assertion ||= proc { expect(true).to be_true } group = ::RSpec::Core::ExampleGroup.describe('Feature').describe('Scenario') example = group.example('example', metadata, &assertion) group.run(NoopObject.new) example end end shared_context "turnip_formatter failure scenario setup" do |assertion| include_context 'turnip_formatter scenario setup', proc { expect(true).to be_false } end shared_context "turnip_formatter pending scenario setup" do |assertion| include_context 'turnip_formatter scenario setup', proc { pending('Pending') } end shared_context 'turnip_formatter standard scenario metadata' do let(:metadata) do { turnip_formatter: { steps: [ { name: 'Step 1', extra_args: [], keyword: 'When' } ], tags: [] }, file_path: '/path/to/hoge.feature' } end end shared_context 'turnip_formatter standard step parameters' do let(:description) do { name: 'StepName', keyword: 'Keyword', extra_args: ['Docstring'] } end end
Version data entries
11 entries across 11 versions & 1 rubygems