diff options
Diffstat (limited to 'spec/models/design_management/design_collection_spec.rb')
-rw-r--r-- | spec/models/design_management/design_collection_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/design_management/design_collection_spec.rb b/spec/models/design_management/design_collection_spec.rb index de766d5ce09..33f9d3b988f 100644 --- a/spec/models/design_management/design_collection_spec.rb +++ b/spec/models/design_management/design_collection_spec.rb @@ -41,7 +41,7 @@ RSpec.describe DesignManagement::DesignCollection do design2 = collection.find_or_create_design!(filename: 'design2.jpg') - expect(collection.designs.ordered(issue.project)).to eq([design1, design2]) + expect(collection.designs.ordered).to eq([design1, design2]) end end |