require File.expand_path('../spec_helper', __FILE__) describe KdeFrameworksRelease do include GivenFilesystemSpecHelpers use_given_filesystem context "given KDE generic manifests" do before(:each) do @manifest_dir = given_directory do given_directory("karchive") do given_file("karchive.manifest", :from => "karchive-generic.manifest") end given_directory("kservice") do given_file("kservice.manifest", :from => "kservice-generic.manifest") end given_directory("newlib") do given_file("newlib.manifest", :from => "manifests/newlib/newlib.manifest") end end s = Settings.new s.manifest_path = @manifest_dir s.offline = true @manifest_handler = ManifestHandler.new s end it "reads generic manifests" do k = KdeFrameworksRelease.new @manifest_handler expected_output = <