Skip to content
Snippets Groups Projects
Commit f0c2f748 authored by Ted Hogan's avatar Ted Hogan
Browse files

Removed redundent and incorrect tests on WIP

parent 9fc6df51
No related branches found
No related tags found
1 merge request!1876No space required after WIP identifier
Loading
@@ -193,16 +193,6 @@ describe MergeRequest, models: true do
Loading
@@ -193,16 +193,6 @@ describe MergeRequest, models: true do
expect(subject).to be_work_in_progress expect(subject).to be_work_in_progress
end end
   
it "detects the 'WIP' prefix" do
subject.title = "WIP#{subject.title}"
expect(subject).to be_work_in_progress
end
it "detects the 'WIP:' prefix" do
subject.title = "WIP:#{subject.title}"
expect(subject).to be_work_in_progress
end
it "detects the '[WIP]' prefix" do it "detects the '[WIP]' prefix" do
subject.title = "[WIP]#{subject.title}" subject.title = "[WIP]#{subject.title}"
expect(subject).to be_work_in_progress expect(subject).to be_work_in_progress
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment