Commit b8dadd6427e50aa6d4f8f5dee113518340495550
Committed by
Dmitriy Zaporozhets
1 parent
13fb3fdc
Exists in
master
and in
4 other branches
repair rspec (remove and rename files)
Showing
6 changed files
with
18 additions
and
78 deletions
Show diff stats
spec/helpers/admin/teams_helper_spec.rb
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | -require 'spec_helper' | |
| 2 | - | |
| 3 | -# Specs in this file have access to a helper object that includes | |
| 4 | -# the Admin::TeamsHelper. For example: | |
| 5 | -# | |
| 6 | -# describe Admin::TeamsHelper do | |
| 7 | -# describe "string concat" do | |
| 8 | -# it "concats two strings with spaces" do | |
| 9 | -# helper.concat_strings("this","that").should == "this that" | |
| 10 | -# end | |
| 11 | -# end | |
| 12 | -# end | |
| 13 | -describe Admin::TeamsHelper do | |
| 14 | - pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | -end |
spec/helpers/teams/members_helper_spec.rb
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | -require 'spec_helper' | |
| 2 | - | |
| 3 | -# Specs in this file have access to a helper object that includes | |
| 4 | -# the Teams::MembersHelper. For example: | |
| 5 | -# | |
| 6 | -# describe Teams::MembersHelper do | |
| 7 | -# describe "string concat" do | |
| 8 | -# it "concats two strings with spaces" do | |
| 9 | -# helper.concat_strings("this","that").should == "this that" | |
| 10 | -# end | |
| 11 | -# end | |
| 12 | -# end | |
| 13 | -describe Teams::MembersHelper do | |
| 14 | - pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | -end |
spec/helpers/teams/projects_helper_spec.rb
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | -require 'spec_helper' | |
| 2 | - | |
| 3 | -# Specs in this file have access to a helper object that includes | |
| 4 | -# the Teams::ProjectsHelper. For example: | |
| 5 | -# | |
| 6 | -# describe Teams::ProjectsHelper do | |
| 7 | -# describe "string concat" do | |
| 8 | -# it "concats two strings with spaces" do | |
| 9 | -# helper.concat_strings("this","that").should == "this that" | |
| 10 | -# end | |
| 11 | -# end | |
| 12 | -# end | |
| 13 | -describe Teams::ProjectsHelper do | |
| 14 | - pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | -end |
spec/helpers/teams_helper_spec.rb
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | -require 'spec_helper' | |
| 2 | - | |
| 3 | -# Specs in this file have access to a helper object that includes | |
| 4 | -# the TeamsHelper. For example: | |
| 5 | -# | |
| 6 | -# describe TeamsHelper do | |
| 7 | -# describe "string concat" do | |
| 8 | -# it "concats two strings with spaces" do | |
| 9 | -# helper.concat_strings("this","that").should == "this that" | |
| 10 | -# end | |
| 11 | -# end | |
| 12 | -# end | |
| 13 | -describe TeamsHelper do | |
| 14 | - pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | -end |
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +require "spec_helper" | |
| 2 | + | |
| 3 | +describe ProjectTeam do | |
| 4 | + let(:team) { create(:project).team } | |
| 5 | + | |
| 6 | + describe "Respond to" do | |
| 7 | + subject { team } | |
| 8 | + | |
| 9 | + it { should respond_to(:developers) } | |
| 10 | + it { should respond_to(:masters) } | |
| 11 | + it { should respond_to(:reporters) } | |
| 12 | + it { should respond_to(:guests) } | |
| 13 | + it { should respond_to(:repository_writers) } | |
| 14 | + it { should respond_to(:repository_masters) } | |
| 15 | + it { should respond_to(:repository_readers) } | |
| 16 | + end | |
| 17 | +end | |
| 18 | + | ... | ... |
spec/models/team_spec.rb
| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | -require "spec_helper" | |
| 2 | - | |
| 3 | -describe Team do | |
| 4 | - let(:team) { create(:project).team } | |
| 5 | - | |
| 6 | - describe "Respond to" do | |
| 7 | - subject { team } | |
| 8 | - | |
| 9 | - it { should respond_to(:developers) } | |
| 10 | - it { should respond_to(:masters) } | |
| 11 | - it { should respond_to(:reporters) } | |
| 12 | - it { should respond_to(:guests) } | |
| 13 | - it { should respond_to(:repository_writers) } | |
| 14 | - it { should respond_to(:repository_masters) } | |
| 15 | - it { should respond_to(:repository_readers) } | |
| 16 | - end | |
| 17 | -end | |
| 18 | - |