Commit Graph

62 Commits

Author SHA1 Message Date
Andrew Artajos 2d8a228b59 Fixed a typo
Fixed a typo from indend to indent. Just making the code more readable.
2016-05-05 09:14:03 +10:00
Parker Moore d27f1d95d5 features: #run_command should prefix command with $ 2016-01-18 15:34:50 -08:00
Parker Moore 1d369aada3 features: some under-the-hood enhancements 2016-01-18 12:48:12 -08:00
Parker Moore dd15e3c368 features: write EXIT STATUS to output so it all prints when we get an exit status we aren't expecting 2016-01-18 11:42:34 -08:00
Jordon Bedwell c5b8b3315f Rearrange Cucumber and add some flair.
* Move step_definitions/jekyll.rb to just step_definitions.rb
* Rename the formatter to Jekyll::Cucumber::Formatter, it's Jekyll's.
* Add some flair; switch to checks!
* Rename env.rb to helpers.rb
2016-01-11 14:55:34 -06:00
Jordon Bedwell 3c9f159fb8 Move Cucumber to using RSpec-Expections and furthering JRuby support.
* Removes posix-spawn in favor of Open3#popen3
* Encapsulates all the paths into a single easy class.
* Moves to %r{} to avoid ambiguious warnings per-Cucumber suggestion.
* Starts passing around Pathname to make some actions faster.
* Clean's up some methods to make them easier to read.
* AUTOMATIC: Add "#" between each method.
2016-01-10 14:41:48 -06:00
Parker Moore c273d91df1 cucumber: fix issue where an undefined step would cause an exception 2016-01-04 12:08:02 -08:00
Parker Moore 8a09418083 Allow use of Cucumber 2.1 or greater 2015-11-24 16:28:02 -08:00
Jordon Bedwell 1c4b4ae271 Add regression tests to Cucumber. 2015-10-29 17:19:03 -05:00
Parker Moore 6597bacee8 features: Update the way we access Minitest assertions
Per https://github.com/cucumber/cucumber/wiki/Using-MiniTest.
2015-04-28 12:49:45 -07:00
Arthur Neves 67ba8ad0cb Use rspec-mock instead of rr 2015-03-06 20:13:07 -05:00
Parker Moore ace1b6b8d2 Migrate the integration tests to minitest, too 2015-02-21 00:31:25 -08:00
Parker Moore 7bcf8d689e Always call Time#localtime to translate to TZ'd time. 2014-12-29 20:12:35 -05:00
Parker Moore 519b60d012 Fix 2 syntax errors. 2014-11-05 18:39:54 -08:00
Parker Moore 0ad2c338c4 Reorganize tests for plugins. 2014-11-05 18:39:54 -08:00
Parker Moore ca2e291306 prettier exceptions for cucumber. [ci skip] 2014-08-30 19:42:15 -07:00
Parker Moore 106148280d Use POSIX::Spawn instead of system to launch Jekyll 2014-08-30 19:29:01 -07:00
Parker Moore f9bc50e010 Fix the custom Cucumber output. 2014-08-30 19:28:37 -07:00
Parker Moore efd2c17eba Don't print out docstrings. 2014-08-30 18:37:00 -07:00
Parker Moore 141ce32382 Custom formatter. 2014-08-12 18:06:47 -04:00
Anatol Broder df334e809e Remove coverage reporting with Coveralls 2014-06-09 02:35:55 +02:00
Anatol Broder 367a818c26 Fallback title based on time 2014-05-05 10:37:21 +02:00
Martin Charles f9375d5660 Cleaned up cucumbers 2014-04-23 13:40:21 -04:00
Parker Moore 5a6f1d42a9 Fix #filtered_entries so it returns a new Array if the directory doesn't exist 2014-04-14 23:03:19 -04:00
Parker Moore f082eca791 GUYS failing test for rendering 2014-04-14 22:45:20 -04:00
Parker Moore 53c42d000f Move test dir to inside tmp in this repo. 2014-03-18 23:53:31 -04:00
Matt Rogers 39b6fe732f Merge pull request #1780 from mojombo/kill-1-8 2013-12-11 06:08:10 -08:00
Parker Moore 1297ed5c1d Remove weird 1.8.7 workarounds in features env 2013-12-06 01:42:37 -05:00
Parker Moore 5591ff2a6b Whoops, it's called 'jekyll_run_output' 2013-12-06 00:57:19 -05:00
Parker Moore bce2c2efb4 Print the output of Jekyll if the command fails 2013-12-06 00:52:33 -05:00
Parker Moore 6187861e91 Add test code for 'whitelist' option. 2013-12-06 00:21:34 -05:00
Greg Karékinian 49d5c3457c Remove extra trailing whitespace 2013-11-20 00:50:56 +01:00
Matt Rogers bd825924b2 Merge pull request #1582 from mojombo/seconds_agnostic_time
Get some nice Regexp which is agnostic about the seconds.
2013-10-23 22:57:18 -05:00
Matt Rogers fb6f8c1ff1 Merge pull request #1493 from maul-esel/feature-improvements
Improve features / tests code
2013-10-23 20:49:11 -07:00
Parker Moore 425885460f DARN YOU RUBY 1.8.7 AND YOUR DIFFERENT TIME.TO_S METHOD 2013-09-28 14:16:57 -04:00
Parker Moore d958fd5679 Clean it up, clean it up. 2013-09-28 13:26:55 -04:00
Parker Moore 2dd7964926 C'mon, you're a Ruby developer. What are you doing. 2013-09-27 21:56:24 -04:00
Parker Moore aa6ee14fb7 Get some nice Regexp which is agnostic about the seconds. 2013-09-27 15:38:38 -04:00
maul.esel b26327f20a simplify conditions for coverage reports 2013-09-14 15:28:41 +02:00
maul.esel 5ee41cd3bb setup coveralls for cucumber 2013-09-12 21:19:36 +02:00
maul.esel 3a18157d20 rename the new function 2013-09-10 19:09:33 +02:00
maul.esel 89f0d69b07 Revert to #readlines#join, but enclose it in a function
This is necessary to preserve the handling
of \r\n and \n line endings.
2013-09-07 18:07:54 +02:00
zachgersh b19997aee4 Broken test committed. Can't find proper directories. 2013-06-18 07:57:59 -07:00
zachgersh 7fba828f02 The start of something cucumber. 2013-06-18 07:57:59 -07:00
John Piasetzki 72fa7f8a73 Switch cucumber features to use iso dates 2013-05-25 11:35:28 -04:00
Parker Moore 4b6baf01cb Merge pull request #1139 from scribu/cucumber-fix
Fix for #622 (Cucumber infinite loop)
2013-05-23 14:28:31 -07:00
John Piasetzki e043c419f5 Trying to edit my history to remove the mistakes 2013-05-23 16:49:43 -04:00
scribu 7579c1c42d cucumber: don't manually include assertions
It causes hard to debug infinite loops and it's done automatically
in recent versions of Cucumber anyway.
2013-05-23 20:35:27 +03:00
Parker Moore 88e68e038a Extract out date parsing in feature steps 2013-04-15 14:32:14 +02:00
Parker Moore df868b308a Set Jekyll path relative to the env file, not to CWD 2013-04-15 00:42:14 +02:00