Sha256: 742c76f0182b129b71dd2eb4ca18b04aa29939dff40f1e230157c8beec7e4fcd

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

Feature: Plugins Work

  @slow_process @unstable
  Scenario: Lolcommits.com integration works
    Given I am in a git repository named "dot_com" with lolcommits enabled
    When I run `lolcommits --config` and wait for output
    And I enter "dot_com" for "Plugin Name"
    And I enter "true" for "enabled"
    And I enter "b2a70ac0b64e012fa61522000a8c42dc" for "api_key"
    And I enter "b2a720b0b64e012fa61522000a8c42dc" for "api_secret"
    And I enter "c4aed530b64e012fa61522000a8c42dc" for "repo_id"
    Then I should be presented "Successfully configured plugin: dot_com"
    When I do a git commit
    Then the output should contain "*** Preserving this moment in history."
    And there should be exactly 1 jpg in "../.lolcommits/dot_com"

  Scenario: Disable loltext
    Given I am in a git repository named "loltext" with lolcommits enabled
    And I run `lolcommits --config` and wait for output
    And I enter "loltext" for "Plugin Name"
    And I enter "false" for "enabled"
    Then I should be presented "Successfully configured plugin: loltext"
    When I do a git commit
    Then the output should contain "*** Preserving this moment in history."
    And there should be exactly 1 jpg in "../.lolcommits/loltext"

  Scenario: lolsrv integration works
    Given I am in a git repository named "lolsrv" with lolcommits enabled
    When I run `lolcommits --config` and wait for output
    And I enter "lolsrv" for "Plugin Name"
    And I enter "true" for "enabled"
    And I enter "http://localhost" for "server"
    Then I should be presented "Successfully configured plugin: lolsrv"
    When I do a git commit
    Then the output should contain "*** Preserving this moment in history."
    And there should be exactly 1 jpg in "../.lolcommits/lolsrv"

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
lolcommits-0.5.7 features/plugins.feature
lolcommits-0.5.6 features/plugins.feature
lolcommits-0.5.5 features/plugins.feature
lolcommits-0.5.4 features/plugins.feature
lolcommits-0.5.3 features/plugins.feature
lolcommits-mpv-0.5.3 features/plugins.feature
lolcommits-mpv-0.5.2 features/plugins.feature
lolcommits-0.5.2 features/plugins.feature
lolcommits-0.5.2.pre1 features/plugins.feature