diff --git a/index.js b/index.js index 57923fd..d69875f 100644 --- a/index.js +++ b/index.js @@ -1,19 +1,12 @@ /* jshint node: true */ 'use strict'; -var path = require('path'); -var Funnel = require('broccoli-funnel'); - module.exports = { name: 'ember-normalize', - treeForStyles: function() { - var normalizePath = path.join(this.project.nodeModulesPath, 'normalize.css'); - var normalizeTree = new Funnel(this.treeGenerator(normalizePath), { - srcDir: '/', - destDir: '/app/styles' - }); + included: function(app) { + this._super.included(app); - return normalizeTree; + app.import('node_modules/normalize.css/normalize.css'); } }; diff --git a/tests/acceptance/sanity-test.js b/tests/acceptance/sanity-test.js index b9fafe7..990e744 100644 --- a/tests/acceptance/sanity-test.js +++ b/tests/acceptance/sanity-test.js @@ -9,6 +9,6 @@ test('normalize styles are being applied', function(assert) { andThen(() => { let fontFamily = jQuery('pre').css('font-family'); - assert.equal(fontFamily, 'monospace, monospace', 'PRE has expected font-family'); + assert.equal(fontFamily, 'monospace', 'PRE has expected font-family'); }); });