Skip to content

Commit

Permalink
Merge pull request #12 from ellemenno/1.1.2
Browse files Browse the repository at this point in the history
1.1.2
  • Loading branch information
ellemenno committed Dec 21, 2014
2 parents d64eb14 + c45a855 commit bacefa5
Show file tree
Hide file tree
Showing 21 changed files with 1,248 additions and 1,174 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Download the library into its matching sdk folder:

```bash
$ curl -L -o ~/.loom/sdks/sprint33/libs/Spec.loomlib \
https://github.com/pixeldroid/spec-ls/releases/download/v1.1.1/Spec-sprint33.loomlib
https://github.com/pixeldroid/spec-ls/releases/download/v1.1.2/Spec-sprint33.loomlib
```

To uninstall, simply delete the file:
Expand All @@ -31,38 +31,38 @@ $ rm ~/.loom/sdks/sprint33/libs/Spec.loomlib
```as3
package
{
import loom.Application;
import loom.Application;
import pixeldroid.bdd.Spec;
import pixeldroid.bdd.reporters.ConsoleReporter;
import pixeldroid.bdd.Spec;
import pixeldroid.bdd.reporters.ConsoleReporter;
public class SpecTest extends Application
{
public class SpecTest extends Application
{
override public function run():void
{
MySpec.describe();
override public function run():void
{
MySpec.describe();
Spec.addReporter(new ConsoleReporter());
Spec.execute();
}
}
Spec.addReporter(new ConsoleReporter());
Spec.execute();
}
}
import pixeldroid.bdd.Thing;
import pixeldroid.bdd.Thing;
public static class MySpec
{
public static function describe():void
{
var it:Thing = Spec.describe('a Thing');
public static class MySpec
{
public static function describe():void
{
var it:Thing = Spec.describe('a Thing');
it.should('exist', function() {
it.expects(MySpec).not.toBeNull();
});
}
}
it.should('exist', function() {
it.expects(MySpec).not.toBeNull();
});
}
}
}
```
Expand Down
Loading

0 comments on commit bacefa5

Please sign in to comment.