public void ManifestUrlEqualsBundleUrl()
        {
            var bundle = new ExternalStylesheetBundle("http://example.com/");
            var builder = new ExternalStylesheetBundleManifestBuilder();

            var manifest = builder.BuildManifest(bundle);

            manifest.Url.ShouldEqual(bundle.ExternalUrl);
        }
 public ExternalStylesheetBundleManifest_Tests()
 {
     manifest = new ExternalStylesheetBundleManifest
     {
         Path = "~",
         Hash = new byte[] { },
         Media = "MEDIA",
         Url = "http://example.com/"
     };
     createdBundle = (ExternalStylesheetBundle)manifest.CreateBundle();
 }
        public void ManifestMediaEqualsBundleMedia()
        {
            var bundle = new ExternalStylesheetBundle("http://example.com/")
            {
                Media = "MEDIA-VALUE"
            };

            var builder = new ExternalStylesheetBundleManifestBuilder();
            var manifest = builder.BuildManifest(bundle);

            manifest.Media.ShouldEqual(bundle.Media);
        }
        public void ManifestConditionEqualsBundleCondition()
        {
            var bundle = new ExternalStylesheetBundle("http://example.com/")
            {
                Condition = "CONDITION"
            };

            var builder = new ExternalStylesheetBundleManifestBuilder();
            var manifest = builder.BuildManifest(bundle);

            manifest.Condition.ShouldEqual(bundle.Condition);
        }
 public ExternalStylesheetBundleManifest_Tests()
 {
     settings = new CassetteSettings("");
     manifest = new ExternalStylesheetBundleManifest
     {
         Path = "~",
         Hash = new byte[] { },
         Media = "MEDIA",
         Url = "http://example.com/",
         Html = () => "EXPECTED-HTML"
     };
     createdBundle = (ExternalStylesheetBundle)manifest.CreateBundle(settings);
 }