Sha256: 588db9d56f26cd9a09178bc37bef29a488c8c0dd44bdaac0d9c32fb70a2f2389

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 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)
        user.send_confirmation_instructions
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-async-0.1.0 test/devise/async/proxy_test.rb
devise-async-0.0.2 test/devise/async/proxy_test.rb