encapsulation.js 449 B

1234567891011121314
  1. casper.test.begin('Component Encapsulation', 4, function (test) {
  2. casper
  3. .start('./fixtures/encapsulation.html', function () {
  4. test.assertSelectorHasText('.dir', 'directive works')
  5. test.assertSelectorHasText('.filter', 'filter works')
  6. test.assertSelectorHasText('.partial', 'partial works')
  7. test.assertSelectorHasText('.vm', 'component works')
  8. })
  9. .run(function () {
  10. test.done()
  11. })
  12. })