Sha256: 85cf44fd772c695013b6dcfb717fdc63ec48233b913164722e07b1b7ab0205e9
Contents?: true
Size: 676 Bytes
Versions: 5
Compression:
Stored size: 676 Bytes
Contents
Feature: Sitemaps that include StringResource Scenario: No exception is raised determining if the resource is processible Given a fixture app "base-app" And a file named "config.rb" with: """ class StringResourceGenerator < Middleman::Extension def manipulate_resource_list resources resources + [Middleman::Sitemap::StringResource.new(app.sitemap, 'stringy/index.html', 'Stringy!')] end end ::Middleman::Extensions.register(:stringy, StringResourceGenerator) activate :stringy activate :sprockets """ And the Server is running When I go to "/stringy" Then I should see "Stringy!"
Version data entries
5 entries across 5 versions & 2 rubygems