<!--
**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
-->

<!doctype html>
<html>
<head>
  <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
  <title>yo-greeting-basic</title>

  <script src="../../bower_components/webcomponentsjs/webcomponents.min.js"></script>
  <script src="../../bower_components/web-component-tester/browser.js"></script>
  <script src="../../bower_components/test-fixture/test-fixture-mocha.js"></script>
  <link rel="import" href="../../bower_components/test-fixture/test-fixture.html">

  <!-- Step 1: import the element to test -->
  <link rel="import" href="../elements/yo-greeting/yo-greeting.html">

</head>
<body>

  <test-fixture id="basic">
    <template>
      <yo-greeting></yo-greeting>
    </template>
  </test-fixture>

  <script>

    suite('yo-greeting tests', function() {
      var greeting, header;

      setup(function() {
        greeting = fixture('basic');
      });

      test('Allo, Allo!', function() {
        header = greeting.querySelector('h1');
        assert.equal(header.textContent, 'Allo, Allo!');
      });

    });
  </script>

</body>
</html>

Rewrite greeting-basic tests w/ test-fixture element
Rewrite greeting-basic tests w/ test-fixture element
