Sha256: f97463d043b26e55fad1f88f7a9b4d98cfc53a33a2bfcdce31c3df2f3961411b
Contents?: true
Size: 928 Bytes
Versions: 14
Compression:
Stored size: 928 Bytes
Contents
# encoding: UTF-8 require 'gooddata' include GoodData::Model describe GoodData::Model::ToManifest do # before(:each) do # @spec = JSON.parse(File.read("./spec/data/test_project_model_spec.json"), :symbolize_names => true) # @result = JSON.parse(File.read("./spec/data/manifest_test_project.json")) # end it "should parse the model view and return the blueprint" do spec = JSON.parse(File.read("./spec/data/test_project_model_spec.json"), :symbolize_names => true) result = JSON.parse(File.read("./spec/data/manifest_test_project.json")) expect(ToManifest.to_manifest(spec)).to eq result end it "should parse the model view and return the blueprint" do spec = JSON.parse(File.read("./spec/data/gd_gse_data_blueprint.json"), :symbolize_names => true) result = JSON.parse(File.read("./spec/data/gd_gse_data_manifest.json")) expect(ToManifest.to_manifest(spec)).to eq result end end
Version data entries
14 entries across 14 versions & 1 rubygems