Sha256: c4f3088db1d223bf19fe86f25a5cb8d100b3e1d5ba011fb16dd1d107bb928640
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
RSpec.describe BingAdsRubySdk::OAuth2::FsStore do after do File.unlink("./.abc") if File.file?("./.abc") end let(:store) { described_class.new(".abc") } context "when not empty" do before { store.write(a: 1, b: "2") } it "writes and read properly" do expect(store.read).to eq("a" => 1, "b" => "2") end end context "when empty" do it "reads properly" do expect(store.read).to be nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bing_ads_ruby_sdk-1.5.0 | spec/bing_ads_ruby_sdk/oauth2/fs_store_spec.rb |