Skip to content

Commit

Permalink
[#224] Make ey environments display account names that apps belong to
Browse files Browse the repository at this point in the history
  • Loading branch information
smerritt committed Sep 8, 2010
1 parent d24658e commit a062340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engineyard/cli/ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def print_envs(apps, default_env_name = nil, simple = false)
end
else
apps.each do |app|
puts app.name
puts "#{app.name} (#{app.account.name})"
if app.environments.any?
app.environments.each do |env|
short_name = env.shorten_name_for(app)
Expand Down
1 change: 1 addition & 0 deletions spec/ey/list_environments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

it "lists the environments your app is in" do
ey "environments"
@out.should include('rails232app (main)')
@out.should =~ /giblets/
@out.should =~ /bakon/
end
Expand Down

0 comments on commit a062340

Please sign in to comment.