test/reader_test.rb in symmetric-encryption-3.2 vs test/reader_test.rb in symmetric-encryption-3.3
- old
+ new
@@ -1,15 +1,6 @@
-# Allow examples to be run in-place without requiring a gem install
-$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
-
+require File.dirname(__FILE__) + '/test_helper'
require 'stringio'
-require 'rubygems'
-require 'test/unit'
-require 'shoulda'
-require 'symmetric-encryption'
-
-# Load Symmetric Encryption keys
-SymmetricEncryption.load!(File.join(File.dirname(__FILE__), 'config', 'symmetric-encryption.yml'), 'test')
# Unit Test for SymmetricEncrypted::ReaderStream
#
class ReaderTest < Test::Unit::TestCase
context SymmetricEncryption::Reader do