Sha256: ec978262f2bec7ad1b29c2a40663b39e64ff29402bfb97422b8c76027e93c835

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

require_relative '../../../lib/balboa/interactor/interactor_builder'

describe Balboa::Interactor::InteractorBuilder do
  it 'responds to create as class method' do
    interactor = described_class.create({})

    expect(interactor).not_to be nil
  end

  it 'responds to create as instance method' do
    interactor = described_class.new({}).create

    expect(interactor).not_to be nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
balboa-0.1.7 spec/balboa/interactor/interactor_builder_spec.rb
balboa-0.1.6 spec/balboa/interactor/interactor_builder_spec.rb
balboa-0.1.5 spec/balboa/interactor/interactor_builder_spec.rb