Sha256: f15484471c9818adc5a67a8885ab91b0fa90196b12d5bdb6422d84ff50ae1284
Contents?: true
Size: 785 Bytes
Versions: 26
Compression:
Stored size: 785 Bytes
Contents
Feature: Instance Vars In order to share data with layouts and partials via instance variables Scenario: Setting an instance var in a template should be visible in its layout Given the Server is running at "instance-vars-app" When I go to "/instance-var-set.html" Then I should see "Var is 100" Scenario: Setting an instance var in a template should be visible in a partial Given the Server is running at "instance-vars-app" When I go to "/instance-var-set.html" Then I should see "My var is here!" Scenario: Setting an instance var in one file should not be visible in another Given the Server is running at "instance-vars-app" When I go to "/instance-var-set.html" When I go to "/no-instance-var.html" Then I should see "No var..."
Version data entries
26 entries across 26 versions & 2 rubygems