Skip to content

Commit 64d7f36

Browse files
committed
Merge remote-tracking branch 'origin/master'
Conflicts: README.md
2 parents 59ee1a1 + 3e5d93c commit 64d7f36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ Simple Fixtures
33

44
Simple test data not only for Grails project.
55

6-
This is lightweight version of [Grails Fixtures Plugin](grails.org/plugin/fixtures) but this one can easily run in unit tests not only the integration tests.
6+
This is lightweight version of [Grails Fixtures Plugin](http://grails.org/plugin/fixtures) but this one can easily run in unit tests not only the integration tests.
77

88
Create Groovy scripts in some folder in your project such as `src/test/fixtures`. Define your fixtures in `fixture` as follows:
99

1010
```
1111
// src/test/fixtures/fixtureTwo.groovy
1212
import com.exaple.MyPogo
1313
14-
load "path/to/fixtureOne" // loads other fixture such as fixtureOne
15-
load "path/to/otherFixtures/*" // loads all fixtures in directory otherOnes (non-recursively)
14+
load "path/to/fixtureOne" // loads other fixture such as fixtureOne
1615
1716
fixture {
1817
fixtureTwo(MyPogo, name: "John Smith", nickname: "Fixture", something: fixtureOne)

0 commit comments

Comments
 (0)