Sha256: a8f1b7bb6f1bea29ce8949a5eef2c657f9acbbb1c186d629e4a0a4de07edd4d6

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

Feature: Track Goals

  Background:
    Given an empty tracking database
  
  Scenario: No goals
    When I view "/admin/metry"
    Then the page should have "#goals"
    And the page should not have "#goals .goal"
    
  Scenario: Create a goal
    Given I view "/admin/metry"
    And I follow "New Goal"
    And I fill in "name" with "Cool goal"
    And I fill in "path" with "/goal"
    And I press "Create"
    Then I should be on "/admin/metry/"
    And the page should have "#goals .goal"
  
  Scenario: Goal count
    Given I add a goal named "My Goal" with path "/"
    And I view "/"
    When I view "/admin/metry"
    Then I should see "My Goal: 1 visits"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
metry-2.0.0 features/psycho/goals.feature
metry-2.0.1 features/psycho/goals.feature
metry-2.0.2 features/psycho/goals.feature
metry-2.0.3 features/psycho/goals.feature