Sha256: cbb4148260a18afe00c7b47106fa7fa645ec6a6ebd0e8879432ce65974de88d0

Contents?: true

Size: 142 Bytes

Versions: 4

Compression:

Stored size: 142 Bytes

Contents

require 'multi_json'

def load_json(file, _as_json = false)
  JSON.parse(File.read(File.dirname(__FILE__) + "/../fixtures/#{file}.json"))
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wordpress-exporter-0.2.0 spec/support/db_rows_json.rb
wordpress-exporter-0.1.0 spec/support/db_rows_json.rb
wordpress-exporter-0.0.2 spec/support/db_rows_json.rb
wordpress-exporter-0.0.1 spec/support/db_rows_json.rb