diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-01-23 11:01:09 -0800 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-01-23 11:01:09 -0800 |
commit | 7c701acf573f95cce7f8b1b7756de5d73404f09b (patch) | |
tree | e1e526db95b6deeed63a2609ef183670a48d3be9 /spec/models | |
parent | 103a1bb06d00c0b3ee1f0148ee8fc809f4f276f8 (diff) | |
download | gitlab-ce-7c701acf573f95cce7f8b1b7756de5d73404f09b.tar.gz |
Do a check which issue tracker is used inside the project.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/project_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 70a15cac1a8..9d633e78187 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -195,16 +195,16 @@ describe Project do end end - describe :used_default_issues_tracker? do + describe :default_issues_tracker? do let(:project) { create(:project) } let(:ext_project) { create(:redmine_project) } it "should be true if used internal tracker" do - project.used_default_issues_tracker?.should be_true + project.default_issues_tracker?.should be_true end it "should be false if used other tracker" do - ext_project.used_default_issues_tracker?.should be_false + ext_project.default_issues_tracker?.should be_false end end |