diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 20:53:24 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 20:53:24 +0200 |
commit | e92b563acf93a1d123ae9f3b599f7d4b1ba56f8e (patch) | |
tree | 7bfc93784a7eb5df53a047aa7fcfdf1cdb6f13aa /spec/models/group_spec.rb | |
parent | 9304d049de0493de457fdec02114d5a23d116f9b (diff) | |
download | gitlab-ce-e92b563acf93a1d123ae9f3b599f7d4b1ba56f8e.tar.gz |
Fix model tests
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r-- | spec/models/group_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 6ae2cb20169..3a748b88d18 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -18,7 +18,7 @@ describe Group do it { should have_many :projects } it { should validate_presence_of :name } it { should validate_uniqueness_of(:name) } - it { should validate_presence_of :code } - it { should validate_uniqueness_of(:code) } + it { should validate_presence_of :path } + it { should validate_uniqueness_of(:path) } it { should validate_presence_of :owner } end |