From b8dadd6427e50aa6d4f8f5dee113518340495550 Mon Sep 17 00:00:00 2001 From: Andrey Kumanyaev Date: Mon, 21 Jan 2013 01:07:17 +0400 Subject: [PATCH] repair rspec (remove and rename files) --- spec/helpers/admin/teams_helper_spec.rb | 15 --------------- spec/helpers/teams/members_helper_spec.rb | 15 --------------- spec/helpers/teams/projects_helper_spec.rb | 15 --------------- spec/helpers/teams_helper_spec.rb | 15 --------------- .../models/{team_spec.rb => project_team_spec.rb} | 2 +- 5 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 spec/helpers/admin/teams_helper_spec.rb delete mode 100644 spec/helpers/teams/members_helper_spec.rb delete mode 100644 spec/helpers/teams/projects_helper_spec.rb delete mode 100644 spec/helpers/teams_helper_spec.rb rename spec/models/{team_spec.rb => project_team_spec.rb} (94%) 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 similarity index 94% rename from spec/models/team_spec.rb rename to 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