Skip to content

Instantly share code, notes, and snippets.

@rjmackay
Last active December 15, 2015 05:39
Show Gist options
  • Select an option

  • Save rjmackay/5210622 to your computer and use it in GitHub Desktop.

Select an option

Save rjmackay/5210622 to your computer and use it in GitHub Desktop.

Revisions

  1. rjmackay revised this gist Mar 21, 2013. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion application.migrations.3-0.20130320172622.php
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    <?php
    <?php defined('SYSPATH') OR die('No direct script access.');

    /**
    * Initial core ushahidi structure
    */
  2. rjmackay revised this gist Mar 21, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions application.migrations.3-0.20130320172622.php
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    <?php
    /**
    * Initial core ushahidi structure
    */
  3. rjmackay revised this gist Mar 21, 2013. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions application.migrations.3-0.20130320172622.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    /**
    * Initial core ushahidi structure
    */
    class Migration_3_0_20130320172622 extends Minion_Migration_Base {

    /**
    * Run queries needed to apply this migration
    *
    * @param Kohana_Database $db Database connection
    */
    public function up(Kohana_Database $db)
    {
    ...
  4. rjmackay created this gist Mar 21, 2013.
    7 changes: 7 additions & 0 deletions api.forms.feature
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Scenario: Listing All Forms
    Given that I want to get all "Forms"
    When I request "/forms"
    Then the response is JSON
    And the response has a "count" property
    And the type of the "count" property is numeric
    Then the response status code should be 200