Sha256: 5b2ac5a0a6c5960209c61c442dbf2cd0a65644deb83308b5ada719f1a47bf928

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

describe Omnitest do
  describe '.validate' do
    context 'block given' do
      it 'creates and registers a validator' do
        Omnitest.validate 'custom validator', suite: 'test', scenario: 'test' do |_scenario|
          # Validate the scenario results
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omnitest-0.2.2 spec/omnitest_spec.rb
omnitest-0.2.1 spec/omnitest_spec.rb