spec/teststrap_spec.rb in teststrap-1.1.8 vs spec/teststrap_spec.rb in teststrap-1.2.0
- old
+ new
@@ -51,17 +51,6 @@
it "return generator file path" do
expect(described_class.source_root)
.to include 'teststrap/generator_files'
end
end
-
- describe "encrypt" do
- it "encrypt data file with secret key" do
- directory = File.dirname(__FILE__)
- data_path = File.expand_path('test/data.json', directory)
- secret_path = File.expand_path('test/secret', directory)
- key = teststrap.encrypt(data_path, secret_path)
- expect(key["id"]).to eq "user"
- expect(key["password"]["cipher"]).to eq "aes-256-cbc"
- end
- end
end