Justin Li
49f2af4209
Merge pull request #570 from Shopify/fix-strict-conditions
...
Fix condition parse order in strict mode
2015-05-28 16:37:43 -04:00
Justin Li
9dd24824f9
Disable minitest expectation interface due to reckless modification of Object
2015-04-24 13:31:54 -04:00
Dylan Thacker-Smith
000d0c911b
Merge pull request #519 from Shopify/remove-filter-method-blacklist
...
Allow filters to redefine Object methods to make them invokable.
2015-02-04 18:09:51 -05:00
Evan Huus
eeb061ef44
Address code review comments
...
- clean up comment wording
- fix potentially leaky tests
2014-09-16 17:23:26 +00:00
Florian Weingarten
1678c07548
Call to_liquid in Context invoke
2014-08-12 19:54:12 +00:00
Florian Weingarten
a2f0f2547d
with_global_filter test helper
2014-07-28 19:28:22 +00:00
Ken Dreyer
ee4295c889
tests: switch to minitest
...
Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5,
the shim has broken some compatibility with Test::Unit::TestCase in some
scenarios.
Adjusts the test suite to support Minitest 5's syntax.
Minitest versions 4 and below do not support the newer Minitest::Test
class that arrived in version 5. For that case, use the
MiniTest::Unit::TestCase class as a fallback
Conflicts:
test/integration/tags/for_tag_test.rb
test/test_helper.rb
2014-07-28 16:36:38 +00:00
Jason Hiltz-Laforge
fd8c30070a
Adding tests, spy dependency
2014-07-16 15:05:45 +00:00
Dylan Thacker-Smith
a5990042ff
Use render! in tests to make debugging test failures easier.
2014-03-20 12:04:17 -04:00
Arthur Neves
208c6c8800
remove ruby-debug
2014-01-07 11:31:46 -05:00
Simon Eskildsen
072c12dc47
Localize errors in Liquid
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0a2f21386d
Add fixture helper
2013-08-30 12:31:57 -04:00
Simon Eskildsen
f37a984fd7
Add sketch of I18n error translation
2013-08-30 12:31:57 -04:00
Tristan Hume
eb68a751ac
Hopefully fix CI by improving multi-suite runner.
2013-08-16 15:15:15 -04:00
Tristan Hume
ace12e29da
Hopefully fix CI on Rubinius
2013-08-02 13:37:56 -04:00
Tristan Hume
824231284c
Run test suite with both parsers
2013-08-01 12:49:36 -04:00
Tristan Hume
4dc9cc0ea1
Add back tests for lax parsing
2013-07-26 11:55:50 -04:00
Jonathan Rudenberg
05a20c627d
Clean up test suite
2011-10-15 20:04:27 -04:00
Steven Soroka
2f11364417
make ruby-debug optional
2011-04-28 15:18:59 -05:00
Steven Soroka
59a63e0fe5
fix failing test "recursively_included_template_does_not_produce_endless_loop", push needs to come before exception raise since pop is in ensure block and always happens.
2011-04-24 01:09:56 -05:00
DBA
3d43efe2bc
Ruby compatibility issues
...
- regexp engines are different from 1.8 to 1.9, fixed the literal shorthand regexp accordingly
- changed the shorthand regexp text from a match to a string scan
- test_helper now loads rubygems unless RUBY_VERSION is > 1.9
2010-08-24 08:17:42 +08:00
DBA
8579807d29
Conditions
...
- added test to assert that conditions can contain conditions within its value (eg 'a-and-b')
Tags
- indented the if tag
Tests
- added ruby-debug to the test_helper
- indented some tests
2010-08-24 08:17:41 +08:00
DBA
daf786fd28
Test Helper
...
- added assert_template_result_matches
- fixed indentation / white spacing
2010-08-24 08:17:41 +08:00
DBA
c72c84ea9b
Tests
...
- Organized the files
- Cleaned up some of the white spacing issues
- A lot can still be done to make the tests more readable to the new developers
2010-08-23 01:30:01 +08:00
DBA
01145f872b
Test Helper
...
- Removed unnecessary test helper file. The file being used is helper.rb
2010-08-23 01:30:00 +08:00
Tobias Lütke
1d647361e1
Initial github import of liquid
2008-05-08 11:28:13 -04:00