test/unit/source_tests.rb in deas-kramdown-0.1.1 vs test/unit/source_tests.rb in deas-kramdown-0.1.2
- old
+ new
@@ -63,10 +63,10 @@
end
class RenderTests < InitTests
desc "`render` method"
setup do
- @template_name = ['basic', 'basic_alt'].choice
+ @template_name = ['basic', 'basic_alt'].sample
end
should "render a template for the given template name and return its data" do
exp = Factory.basic_markdown_rendered
assert_equal exp, subject.render(@template_name)