Commit 31f8d40
Changed files (3)
spec
spec/lib/totp_command_spec.rb
@@ -1,5 +1,3 @@
-require "tempfile"
-
module TFA
describe TotpCommand do
subject { TotpCommand.new(storage) }
spec/spec_helper.rb
@@ -15,6 +15,8 @@
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'tfa'
+require 'securerandom'
+require 'tempfile'
RSpec.configure do |config|
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
Rakefile
@@ -1,2 +1,5 @@
require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec)
+task :default => :spec