Skip to content

Commit

Permalink
Moving feature config into its own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Feb 21, 2012
1 parent 082ec96 commit e6edd98
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*.gem *.gem
.bundle .bundle
coverage coverage
features/config.yml features/config/config.yml
features/fixtures features/fixtures
Gemfile.lock Gemfile.lock
pkg pkg
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion features/steps/gitcycle_steps.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def branches(options={})


def config(reload=false) def config(reload=false)
@config = nil if reload @config = nil if reload
@config ||= YAML.load(File.read("#{BASE}/features/config.yml")) @config ||= YAML.load(File.read("#{BASE}/features/config/config.yml"))
Lighthouse.account = @config['lighthouse']['account'] Lighthouse.account = @config['lighthouse']['account']
Lighthouse.token = @config['lighthouse']['token'] Lighthouse.token = @config['lighthouse']['token']
@config @config
Expand Down

0 comments on commit e6edd98

Please sign in to comment.