lib/balboa/interactor/interactor_builder.rb in balboa-0.1.2 vs lib/balboa/interactor/interactor_builder.rb in balboa-0.1.3
- old
+ new
@@ -10,12 +10,12 @@
class InteractorBuilder
def self.create(*args)
new(*args).create
end
- def initialize(interactor, options)
- @interactor = interactor
+ def initialize(options)
@options = options
+ @interactor = Balboa::Interactor::CapybaraInteractor.new(options)
end
def create
last_punch = Balboa::Interactor::Command::FetchLastPunchCommand.new