summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-21 01:07:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 22:31:25 +0200
commitb8dadd6427e50aa6d4f8f5dee113518340495550 (patch)
treeb262e4404bc88f283d967ad62fbd5aa192762e8e /spec
parent13fb3fdcf20f505b2591cfe3fc1a1e74242a932c (diff)
downloadgitlab-ce-b8dadd6427e50aa6d4f8f5dee113518340495550.tar.gz
repair rspec (remove and rename files)
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/admin/teams_helper_spec.rb15
-rw-r--r--spec/helpers/teams/members_helper_spec.rb15
-rw-r--r--spec/helpers/teams/projects_helper_spec.rb15
-rw-r--r--spec/helpers/teams_helper_spec.rb15
-rw-r--r--spec/models/project_team_spec.rb (renamed from spec/models/team_spec.rb)2
5 files changed, 1 insertions, 61 deletions
diff --git a/spec/helpers/admin/teams_helper_spec.rb b/spec/helpers/admin/teams_helper_spec.rb
deleted file mode 100644
index 5ed6073297b..00000000000
--- a/spec/helpers/admin/teams_helper_spec.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'spec_helper'
-
-# Specs in this file have access to a helper object that includes
-# the Admin::TeamsHelper. For example:
-#
-# describe Admin::TeamsHelper do
-# describe "string concat" do
-# it "concats two strings with spaces" do
-# helper.concat_strings("this","that").should == "this that"
-# end
-# end
-# end
-describe Admin::TeamsHelper do
- pending "add some examples to (or delete) #{__FILE__}"
-end
diff --git a/spec/helpers/teams/members_helper_spec.rb b/spec/helpers/teams/members_helper_spec.rb
deleted file mode 100644
index a8e227aa063..00000000000
--- a/spec/helpers/teams/members_helper_spec.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'spec_helper'
-
-# Specs in this file have access to a helper object that includes
-# the Teams::MembersHelper. For example:
-#
-# describe Teams::MembersHelper do
-# describe "string concat" do
-# it "concats two strings with spaces" do
-# helper.concat_strings("this","that").should == "this that"
-# end
-# end
-# end
-describe Teams::MembersHelper do
- pending "add some examples to (or delete) #{__FILE__}"
-end
diff --git a/spec/helpers/teams/projects_helper_spec.rb b/spec/helpers/teams/projects_helper_spec.rb
deleted file mode 100644
index 836d1dca018..00000000000
--- a/spec/helpers/teams/projects_helper_spec.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'spec_helper'
-
-# Specs in this file have access to a helper object that includes
-# the Teams::ProjectsHelper. For example:
-#
-# describe Teams::ProjectsHelper do
-# describe "string concat" do
-# it "concats two strings with spaces" do
-# helper.concat_strings("this","that").should == "this that"
-# end
-# end
-# end
-describe Teams::ProjectsHelper do
- pending "add some examples to (or delete) #{__FILE__}"
-end
diff --git a/spec/helpers/teams_helper_spec.rb b/spec/helpers/teams_helper_spec.rb
deleted file mode 100644
index 95726163e35..00000000000
--- a/spec/helpers/teams_helper_spec.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'spec_helper'
-
-# Specs in this file have access to a helper object that includes
-# the TeamsHelper. For example:
-#
-# describe TeamsHelper do
-# describe "string concat" do
-# it "concats two strings with spaces" do
-# helper.concat_strings("this","that").should == "this that"
-# end
-# end
-# end
-describe TeamsHelper do
- pending "add some examples to (or delete) #{__FILE__}"
-end
diff --git a/spec/models/team_spec.rb b/spec/models/project_team_spec.rb
index 65ffe13b490..7803811f395 100644
--- a/spec/models/team_spec.rb
+++ b/spec/models/project_team_spec.rb
@@ -1,6 +1,6 @@
require "spec_helper"
-describe Team do
+describe ProjectTeam do
let(:team) { create(:project).team }
describe "Respond to" do