Skip to content

Commit a159d99

Browse files
committedFeb 28, 2014
Cucumber doesn't belong in default plan.
1 parent 7851cf5 commit a159d99

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed
 

‎CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ https://github.com/burke/zeus/compare/v0.14.0.rc1...master
44

55
* Reworked the build process. Makefile completely rewritten, cross-compilation now done with [gox](github.com/mitchellh/gox).
66

7+
* Removed cucumber from default plan.
8+
79
* Various bug fixes
810

911
### 0.14.0.rc1

‎examples/custom_plan/zeus.json

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"dbconsole": []
1515
},
1616
"test_environment": {
17-
"cucumber_environment": {"cucumber": []},
1817
"test_helper": {"test": ["rspec", "testrb"]}
1918
}
2019
}

‎examples/zeus.json

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"dbconsole": []
1515
},
1616
"test_environment": {
17-
"cucumber_environment": {"cucumber": []},
1817
"test_helper": {"test": ["rspec", "testrb"]}
1918
}
2019
}

‎rubygem/lib/zeus/rails.rb

-14
Original file line numberDiff line numberDiff line change
@@ -205,20 +205,6 @@ def test(argv=ARGV)
205205
end
206206
end
207207

208-
def cucumber_environment
209-
require 'cucumber/rspec/disable_option_parser'
210-
require 'cucumber/cli/main'
211-
@cucumber_runtime = Cucumber::Runtime.new
212-
end
213-
214-
def cucumber(argv=ARGV)
215-
cucumber_main = Cucumber::Cli::Main.new(argv.dup)
216-
had_failures = cucumber_main.execute!(@cucumber_runtime)
217-
exit_code = had_failures ? 1 : 0
218-
exit exit_code
219-
end
220-
221-
222208
private
223209

224210
SPEC_DIR_REGEXP = %r"(^|/)spec"

0 commit comments

Comments
 (0)
Please sign in to comment.