Sha256: 0cbffb12eea7397df8dc78fe35bd56235afc44555727dde837a3b77cbfcf7f15
Contents?: true
Size: 520 Bytes
Versions: 5
Compression:
Stored size: 520 Bytes
Contents
require "spec_helper" describe VelocityAudited do describe "#store" do describe "maintains state of store" do let(:current_user) { "current_user" } before { VelocityAudited.store[:current_user] = current_user } it "when executed without fibers" do expect(VelocityAudited.store[:current_user]).to eq(current_user) end it "when executed with Fibers" do Fiber.new { expect(VelocityAudited.store[:current_user]).to eq(current_user) }.resume end end end end
Version data entries
5 entries across 5 versions & 1 rubygems