Sha256: 8d5e1f41e4fa1db97231df28afc46be677f771decd2cac68357e99953b07cf05
Contents?: true
Size: 1.32 KB
Versions: 6
Compression:
Stored size: 1.32 KB
Contents
Feature: Aliases Scenario: Aliases should generate redirect pages Given the Server is running at "alias-app" When I go to "/foo.html" Then I should see "You are being redirected" Scenario: Aliases should should not over-write existing routes Given the Server is running at "alias-app" When I go to "/double-foo.html" Then I should not see "You are being redirected" Then I should see "This is a page about double foo." Scenario: Aliases should generate multiple redirect pages Given the Server is running at "alias-app" When I go to "/foo-a.html" Then I should see "You are being redirected" When I go to "/foo-b.html" Then I should see "You are being redirected" Scenario: Aliases should use relative paths if relative_links are enabled Given a fixture app "alias-app" And a file named "config.rb" with: """ set :relative_links, true activate :alias """ And the Server is running When I go to "/foo.html" Then I should see 'href="bar.html' Scenario: Aliases should use absolute paths if relative_links are disabled Given a fixture app "alias-app" And a file named "config.rb" with: """ set :relative_links, false activate :alias """ And the Server is running When I go to "/foo.html" Then I should see 'href="/bar.html'
Version data entries
6 entries across 6 versions & 1 rubygems