Sha256: 6c6935e4b1e4b3abea6d2609317b019b0029950f0bc103bdf2585bb6d0bf4271
Contents?: true
Size: 447 Bytes
Versions: 7
Compression:
Stored size: 447 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
7 entries across 7 versions & 1 rubygems