mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Move previous runtime dependencies to development dependencies.
This commit is contained in:
@@ -3,6 +3,7 @@ require 'helper'
|
||||
class TestCoffeeScript < Test::Unit::TestCase
|
||||
context "converting CoffeeScript" do
|
||||
setup do
|
||||
External.require_with_graceful_fail('jekyll-coffeescript')
|
||||
@site = fixture_site
|
||||
@site.process
|
||||
@test_coffeescript_file = dest_dir("js/coffeescript.js")
|
||||
|
||||
@@ -181,6 +181,8 @@ class TestConfiguration < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
should "load multiple config files" do
|
||||
External.require_with_graceful_fail('toml')
|
||||
|
||||
mock(SafeYAML).load_file(@paths[:default]) { Hash.new }
|
||||
mock(SafeYAML).load_file(@paths[:other]) { Hash.new }
|
||||
mock(TOML).load_file(@paths[:toml]) { Hash.new }
|
||||
|
||||
Reference in New Issue
Block a user