Skip to content

Commit

Permalink
make default options match README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Apr 28, 2016
1 parent d06f281 commit a5755f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/guard/cucumber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def initialize(options = {})
all_after_pass: true,
all_on_start: true,
keep_failed: true,
cmd_additional_args: "",
cmd: "cucumber",
cmd_additional_args: "--no-profile --color --format progress --strict",
feature_sets: ["features"]
}.update(options)

Expand Down
5 changes: 3 additions & 2 deletions spec/guard/cucumber_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
all_after_pass: true,
all_on_start: true,
keep_failed: true,
cmd_additional_args: "",
cmd: "cucumber",
cmd_additional_args: "--no-profile --color --format progress --strict",
feature_sets: ["features"]
}
end
Expand All @@ -41,7 +42,7 @@

it "sets a default :cmd_additional_args option" do
expect(subject.options[:cmd_additional_args]).
to eql ""
to eql "--no-profile --color --format progress --strict"
end

it "sets a default :feature_sets option" do
Expand Down

0 comments on commit a5755f6

Please sign in to comment.