Sha256: d25d71e93196ad1f0798eca1eafd8ad73dcd1a0a10414e33d0dfbc90899ce028
Contents?: true
Size: 325 Bytes
Versions: 2
Compression:
Stored size: 325 Bytes
Contents
describe Metacrunch::File do describe "#to_h" do let(:file) do described_class.new({ content: "content", entry_name: "entry_name", file_name: "file_name" }) end it "returns a hash representation of the file object" do expect(file.to_h).to be_a(Hash) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metacrunch-2.2.1 | spec/metacrunch/file_spec.rb |
metacrunch-2.2.0 | spec/metacrunch/file_spec.rb |