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

Commit

Permalink
Cleanup thor warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanheim committed Aug 6, 2010
1 parent 3ec121c commit 53a0875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/nachos/cli.rb
Expand Up @@ -31,12 +31,12 @@ def sync
end
end

private

def config
config_path.exist? ? load_config : default_config
end

private

def config_msg
config_path.exist? ? load_config : "No config found - run nachos config to create one"
end
Expand Down
2 changes: 1 addition & 1 deletion spec/nachos/cli_spec.rb
Expand Up @@ -31,7 +31,7 @@

it "prefers configured path" do
cli = Nachos::CLI.new
cli.config.repo_root = "/here/is/configured/path"
cli.send(:config).repo_root = "/here/is/configured/path"
cli.send(:repo_root).should == Pathname("/here/is/configured/path")
end

Expand Down

0 comments on commit 53a0875

Please sign in to comment.