Permalink
Browse files

only run case insensitive check on v2

  • Loading branch information...
Max Brunsfeld and Patrick Bozeman authored and pbozeman committed Feb 11, 2013
1 parent cc88b85 commit af0fb149327129383bc61e10342e591003f80398
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/name_collision_spec.rb
@@ -25,11 +25,13 @@ def deploy_app_with_name(yeti_app, name)
end
it "will not push two apps with the same name" do
+ pending if session.v1?
deploy_app_with_name(@yeti_app, app_name)
expect { deploy_app_with_name(@yeti_app, app_name) }.to raise_error(RuntimeError, /CFoundry::AppNameTaken/)
end
it "will not push two apps whose names only differ in capitalization" do
+ pending if session.v1?
deploy_app_with_name(@yeti_app, app_name)
expect { deploy_app_with_name(@yeti_app, app_name.upcase) }.to raise_error(RuntimeError, /CFoundry::AppNameTaken/)
end

0 comments on commit af0fb14

Please sign in to comment.