Skip to content

Commit

Permalink
Fix application package.js and README.md
Browse files Browse the repository at this point in the history
Changed "test" to "tests" and fixed Markdown links.

Fixes #1
  • Loading branch information
modcoms authored and bryanforbes committed Oct 24, 2013
1 parent fc8425a commit a430e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A Dojo application generator for [Yeoman](http://yeoman.io).

## Getting started

* Make sure you have [https://github.com/yeoman/yo](yo) and [https://github.com/bryanforbes/generator-dojo](generator-dojo) installed:
* Make sure you have [yo](https://github.com/yeoman/yo) and [generator-dojo](https://github.com/bryanforbes/generator-dojo) installed:
```bash
npm install -g yo generator-dojo
```
Expand Down Expand Up @@ -50,7 +50,7 @@ yo dojo

### Test

Generates a unit or functional test for [https://theintern.io](Intern) and places it in `src/<appname>/tests/<test name>.{js,html}`. Optionally receives a `--functional` flag. If the flag is passed, a functional test is generated, otherwise a unit test is generated.
Generates a unit or functional test for [Intern](http://theintern.io) and places it in `src/<appname>/tests/<test name>.{js,html}`. Optionally receives a `--functional` flag. If the flag is passed, a functional test is generated, otherwise a unit test is generated.

Example:
```bash
Expand Down Expand Up @@ -90,7 +90,7 @@ grunt server:dist

### intern

Runs unit and functional tests using [https://theintern.io](Intern). Intern allows web developers to run unit and functional tests in various versions of browsers from the command line.
Runs unit and functional tests using [Intern](http://theintern.io). Intern allows web developers to run unit and functional tests in various versions of browsers from the command line.

This task takes an optional `target` flag. If this flag is `local`, only local non-browser tests will be run. If this flag is `remote`, only remote tests will be run using Selenium (via SauceLabs or your own Selenium server). If this flag is not passed, both non-browser and remote tests will be run.

Expand Down
2 changes: 1 addition & 1 deletion app/templates/src/app/_package.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var profile = {
// In this case, we are excluding this package configuration file which is not necessary in a built copy of
// the application.
miniExclude: function (filename, moduleId) {
return (/^<%= appname %>\/test\//).test(moduleId) || moduleId in {
return (/^<%= appname %>\/tests\//).test(moduleId) || moduleId in {
'<%= appname %>/package': 1
};
}
Expand Down

0 comments on commit a430e29

Please sign in to comment.