Sha256: a7ab30f762f78be5ce63c6e5b42d4fb8efe06fd285f2816c54382e80dd47bfd5
Contents?: true
Size: 347 Bytes
Versions: 9
Compression:
Stored size: 347 Bytes
Contents
require "spec_helper" describe Stairs::Steps::SecretToken do subject { described_class.new } describe "#run" do it "generates a securerandom hex and sets to SECRET_TOKEN" do SecureRandom.stub hex: "imtotallysecurebro" subject.should_receive(:env).with("SECRET_TOKEN", "imtotallysecurebro") subject.run end end end
Version data entries
9 entries across 9 versions & 1 rubygems