rename old padrino tests, remove sinatra tests, use metadata hooks for frontmatter and liquid
This commit is contained in:
parent
c82a40dde5
commit
0e5ce50787
13 changed files with 117 additions and 156 deletions
|
@ -1,8 +1,9 @@
|
|||
Given /^I am using an asset host$/ do
|
||||
@server ||= Middleman.server
|
||||
@server.set :show_exceptions, false
|
||||
@server.activate :asset_host
|
||||
@server.set :asset_host do |asset|
|
||||
"http://assets%d.example.com" % (asset.hash % 4)
|
||||
end
|
||||
@initialize_commands ||= []
|
||||
@initialize_commands << lambda {
|
||||
activate :asset_host
|
||||
set :asset_host do |asset|
|
||||
"http://assets%d.example.com" % (asset.hash % 4)
|
||||
end
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue