Skip to content

Commit

Permalink
Fix bug in websocket formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
iain committed Aug 2, 2012
1 parent 6872599 commit 246417d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -50,6 +50,8 @@ After making the configuration, you can run it with the `scripted` executable.

Run `scripted --help` to get an overview of all the options.

Also, have a look at the Cucumber features for more information.

### The Basic Command DSL

You can define "commands" via the `run`-method. For instance:
Expand Down Expand Up @@ -415,6 +417,12 @@ I'm putting this out there to get some feedback. Please don't hesitate to
contact me if you have any questions or ideas for improvements. Mention me on
[Twitter](https://twitter.com/iain_nl), or open an issue on Github.

Some possible future features:

* Include groups from within other groups.
* Specify a working directory.
* Define exit status, like `important!` for multiple commands at once.

### Known issues

* Works on MRI and Rubinius.
Expand All @@ -424,6 +432,7 @@ contact me if you have any questions or ideas for improvements. Mention me on
* To get color in RSpec, use the `--tty` switch, or RSpec will not believe the
shell supports color.
* Use the `--color` switch for Cucumber.
* Groups don't run in the specified order yet.

## Contributing

Expand Down
1 change: 0 additions & 1 deletion lib/scripted/formatters/websocket.rb
Expand Up @@ -97,7 +97,6 @@ def command_json(command)
:halted => command.halted?,
:executed => command.executed?,
:only_when_failed => command.only_when_failed?,
:parallel => command.parallel?,
:parallel_id => command.parallel_id,
:failed_but_unimportant => command.failed_but_unimportant?,
:unimportant => command.unimportant?,
Expand Down
4 changes: 0 additions & 4 deletions lib/scripted/running/run_command.rb
Expand Up @@ -80,10 +80,6 @@ def parallel_id
command.parallel_id
end

def parallel?
command.parallel?
end

def only_when_failed?
command.only_when_failed?
end
Expand Down

0 comments on commit 246417d

Please sign in to comment.