Commit 10a0d747 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Nick Thomas

Reuse issue between specs

This involves resetting the repo to blank manually between examples, but
saves about 30% of the spec runtime
parent 35c3c09a
...@@ -101,7 +101,7 @@ module DesignManagement ...@@ -101,7 +101,7 @@ module DesignManagement
scope :current, -> { visible_at_version(nil) } scope :current, -> { visible_at_version(nil) }
def self.relative_positioning_query_base(design) def self.relative_positioning_query_base(design)
on_issue(design.issue_id) default_scoped.on_issue(design.issue_id)
end end
def self.relative_positioning_parent_column def self.relative_positioning_parent_column
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment