spec/spec_helper.rb in cocoapods-keys-1.4.0 vs spec/spec_helper.rb in cocoapods-keys-1.5.0
- old
+ new
@@ -13,5 +13,15 @@
# exclude tests requiring clang when it's unavailable
c.filter_run_excluding :requires_clang => true unless clang_available
c.color = true
end
+
+class FakeKeychain
+ def initialize(data)
+ @data = data
+ end
+
+ def [](_, key)
+ @data[key]
+ end
+end