Browse files

Fix bug in websocket formatter

  • Loading branch information...
1 parent 6872599 commit 246417d91da33d4f7c7197a6225fe6ac66bd9280 @iain committed Aug 3, 2012
Showing with 9 additions and 5 deletions.
  1. +9 −0 README.md
  2. +0 −1 lib/scripted/formatters/websocket.rb
  3. +0 −4 lib/scripted/running/run_command.rb
View
9 README.md
@@ -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:
@@ -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.
@@ -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
View
1 lib/scripted/formatters/websocket.rb
@@ -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?,
View
4 lib/scripted/running/run_command.rb
@@ -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

0 comments on commit 246417d

Please sign in to comment.