Sha256: fd92b4e73aa928a53e7ea9b6549cd4bec14fa1395b579787911401ebc7ea2c60

Contents?: true

Size: 330 Bytes

Versions: 7

Compression:

Stored size: 330 Bytes

Contents

require "test_helper"

module Devise
  module Async
    describe "Proxy" do
      it "gets called by devise operations and proxy to worker" do
        user = create_user
        Worker.expects(:enqueue).with(:confirmation_instructions, "User", user.id.to_s)
        user.send_confirmation_instructions
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise-async-0.5.1 test/devise/async/proxy_test.rb
devise-async-0.5.0 test/devise/async/proxy_test.rb
devise-async-0.4.0 test/devise/async/proxy_test.rb
devise-async-0.3.1 test/devise/async/proxy_test.rb
devise-async-0.3.0 test/devise/async/proxy_test.rb
devise-async-0.2.0 test/devise/async/proxy_test.rb
devise-async-0.1.1 test/devise/async/proxy_test.rb