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
87978e79f4
features/step_definitions: use $stderr instead of STDERR
...
Fixes c273d91df1 (commitcomment-15251676)
2016-01-04 12:36:05 -08:00
Parker Moore
c273d91df1
cucumber: fix issue where an undefined step would cause an exception
2016-01-04 12:08: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
Parker Moore
ace1b6b8d2
Migrate the integration tests to minitest, too
2015-02-21 00:31:25 -08:00
Parker Moore
a87cda4b12
Add configuration fallback for paginate, and fix tests.
2015-01-31 13:53:17 -08:00
Parker Moore
2b29e09177
Fix some cucumber features.
2015-01-17 16:52:12 -08:00
Parker Moore
c1da91cf5c
Start removing mentions of Textile.
2015-01-17 16:51:28 -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
f66862c508
Install rake if the lib isn't there; upgrade to cucumber 1.3.18
2014-12-29 18:40:53 -05:00
Alfred Xing
02f281eef3
Add unit and cucumber tests
2014-11-26 21:15:53 -08:00
Parker Moore
0ad2c338c4
Reorganize tests for plugins.
2014-11-05 18:39:54 -08:00
Alfred Xing
6d62dbbafc
Replace deprecated Ruby methods
...
Replace `Hash#has_key?` and `File.exists?` with `Hash#key?`
and `File.exist?`
2014-07-31 12:50:20 -07:00
Parker Moore
62129d9a2f
Output Jekyll output if ENV['DEBUG'] exists
2014-05-26 20:09:13 -04:00
Parker Moore
e37b3ca8e1
Any assets read in as Pages shall not be rendered or layout'd
2014-05-21 00:52:21 -04:00
Robin Dupret
3a610882f6
Avoid duplicated output using highlight tags
...
While using Rouge and an `highlight` tag, the output was duplicated
since the `output` variable in the Liquid tag definition was equal to
the highlighter's prefix value and the `<<` method changes its receiver.
Therefore, we should simply define an empty string and append the prefix
if it is present.
2014-04-27 12:22:40 +02:00
Martin Charles
f9375d5660
Cleaned up cucumbers
2014-04-23 13:40:21 -04:00
Parker Moore
f082eca791
GUYS failing test for rendering
2014-04-14 22:45:20 -04:00
maul.esel
1997281449
Add feature for the "--unsupported" flag
...
Also make step definitions a little more generic.
2014-04-07 16:22:04 +02:00
Marcus Stollsteimer
fec6b59950
Use File.exist? instead of deprecated File.exists?
2014-04-06 13:31:34 +02:00
Parker Moore
53c42d000f
Move test dir to inside tmp in this repo.
2014-03-18 23:53:31 -04:00
Aidan Feldman
396aa16f99
refactor step to support page creation
2013-12-19 02:27:23 -05:00
Aidan Feldman
5b2480c8ba
refactor file+matter creation in cucumber steps
2013-12-19 01:58:46 -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
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
Juan Ignacio Donoso
e141dfa03f
Add cucumber feature for layouts inside subfolders
2013-10-08 18:14:13 -03:00
liufengyun
760cbc7f91
Autoload yaml files under _data directory
...
The jekyll engine will autoload all yaml files(ends with .yml or .yaml)
under _data. If there's a file members.yml under the directory, then user
can access contents of the file through site.members.
2013-10-01 11:23:33 +08:00
Parker Moore
aa6ee14fb7
Get some nice Regexp which is agnostic about the seconds.
2013-09-27 15:38:38 -04:00
maul.esel
0f4d646510
extend feature tests and use scenario outline
2013-09-16 15:19:29 +02:00
maul.esel
f20b7d8bd2
use assert_match
2013-09-12 20:19:56 +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
maul.esel
be54303fa9
Use File#read instead of #readlines.join construct
2013-09-02 14:00:58 +02:00
Parker Moore
d4300be758
Merge branch 'permalink-no-dir' of git://github.com/maul-esel/jekyll into maul-esel-permalink-no-dir
...
* 'permalink-no-dir' of git://github.com/maul-esel/jekyll:
test per-post permalinks
do not force the permalink to be a dir if it ends on .html
Conflicts:
features/step_definitions/jekyll_steps.rb
2013-08-11 12:08:56 +02:00
Parker Moore
5d6b755d7d
feature maybe?
2013-07-22 13:42:40 +02:00
Parker Moore
08f6f3c2ed
Merge pull request #1204 from maul-esel/include-params2
...
Support parameters for liquid include tags.
2013-07-09 14:14:40 -07:00
Matt Rogers
2484833bc8
Merge pull request #1118 from maul-esel/dir-bug-take2
...
[bugfix #417 ] delete old files that have been replaced by a directory
2013-07-01 07:52:29 -07:00
Matt Rogers
fdebe492cc
Merge pull request #1171 from zachgersh/new_empty
...
Added a --blank command which scaffolds empty files.
2013-06-24 22:25:25 -07:00
zachgersh
270ad54eb3
Removed extra steps and refactored my tests thanks to Maul.
2013-06-18 07:57:59 -07:00
zachgersh
eb06cf0d3d
Adding back the removal of the TEST_DIR. Thanks to sharp eyes.
2013-06-18 07:57:59 -07:00
zachgersh
44cfa0540f
Switch it to file.exists? and File.directory? so 1.8.7 doesn't complain.
2013-06-18 07:57:59 -07:00
zachgersh
3fdeb8c591
Fixed my tests, I need more specific tests for the new command.
2013-06-18 07:57:59 -07:00
zachgersh
b19997aee4
Broken test committed. Can't find proper directories.
2013-06-18 07:57:59 -07:00
maul.esel
73e589df56
add a cucumber feature for passing parameters to includes
2013-06-11 16:04:42 +02:00
Parker Moore
a71b755e9e
Remove superfluous "After" block from step defintions.
2013-06-09 18:31:09 +02:00
Matt Rogers
a75b4a865d
Merge pull request #1151 from jpiasetz/refactors-steps
...
Combined layout and theme features into one
2013-06-08 10:46:13 -07:00
John Piasetzki
240bcccd2f
Remove extra parentheses and swapped regex back
2013-05-25 16:32:36 -04:00