Commit 2f1f05d4 authored by Andrew8xx8's avatar Andrew8xx8

Fixed notes from randx

parent d3f042a6
- if @group.description.present? - if @team.description.present?
.description .description
= @group.description = @team.description
%hr %hr
.projects .projects
......
...@@ -153,8 +153,6 @@ ActiveRecord::Schema.define(:version => 20130220133245) do ...@@ -153,8 +153,6 @@ ActiveRecord::Schema.define(:version => 20130220133245) do
t.boolean "wiki_enabled", :default => true, :null => false t.boolean "wiki_enabled", :default => true, :null => false
t.integer "namespace_id" t.integer "namespace_id"
t.boolean "public", :default => false, :null => false t.boolean "public", :default => false, :null => false
t.string "issues_tracker", :default => "gitlab", :null => false
t.string "issues_tracker_id"
end end
add_index "projects", ["creator_id"], :name => "index_projects_on_owner_id" add_index "projects", ["creator_id"], :name => "index_projects_on_owner_id"
...@@ -235,6 +233,7 @@ ActiveRecord::Schema.define(:version => 20130220133245) do ...@@ -235,6 +233,7 @@ ActiveRecord::Schema.define(:version => 20130220133245) do
t.integer "owner_id" t.integer "owner_id"
t.datetime "created_at", :null => false t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
t.string "description", :default => "", :null => false
end end
create_table "users", :force => true do |t| create_table "users", :force => true do |t|
......
...@@ -69,8 +69,8 @@ class Groups < Spinach::FeatureSteps ...@@ -69,8 +69,8 @@ class Groups < Spinach::FeatureSteps
end end
And 'submit form with new group info' do And 'submit form with new group info' do
fill_in 'group_name', :with => 'Samurai' fill_in 'group_name', with: 'Samurai'
fill_in 'group_description', :with => 'Tokugawa Shogunate' fill_in 'group_description', with: 'Tokugawa Shogunate'
click_button "Create group" click_button "Create group"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment