Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #71 from NuCivic/fix-circle-template
Browse files Browse the repository at this point in the history
Fix circle template.
  • Loading branch information
dharizza authored Jan 16, 2017
2 parents 3121559 + 9053fb7 commit 49164c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ahoy/site/.scripts/circle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class CircleCIConfig

def initialize config
default_test_dirs = ["tests/features", "dkan/test/features", "config/tests/features"]
@test_dirs = config["default"]["test_dirs"] ? config["default"]["test_dirs"] : default_test_dirs
@memory_limit = config["default"]["memory_limit"] ? config["default"]["memory_limit"] : "256M"
@test_dirs = config["circle"]["test_dirs"] ? config["circle"]["test_dirs"] : default_test_dirs
@memory_limit = config["circle"]["memory_limit"] ? config["circle"]["memory_limit"] : "256M"
end

def render(template)
Expand Down
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
array (
0 => 'tests/features',
1 => 'dkan/test/features',
2 => 'config/test/features',
2 => 'config/tests/features',
),
'memory_limit' => '256M',
),
Expand Down
2 changes: 1 addition & 1 deletion config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ circle:
test_dirs:
- tests/features
- dkan/test/features
- config/test/features
- config/tests/features
memory_limit: 256M

0 comments on commit 49164c0

Please sign in to comment.