Skip to content

Commit 802317e

Browse files
Merge pull request #4925 from nebulab/francescoaiello/fix-duplicate-context-naming-in-user-spec
Fix duplicate context name in spec
2 parents 32f2513 + 59da17a commit 802317e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/spec/models/spree/user_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
stub_spree_preferences(completable_order_created_cutoff_days: 1)
4040
end
4141

42-
it "excludes orders updated outside of the cutoff date" do
42+
it "excludes orders created outside of the cutoff date" do
4343
create(:order, user: user, created_by: user, created_at: 3.days.ago, updated_at: 2.days.ago)
4444
expect(user.last_incomplete_spree_order).to eq nil
4545
end
4646
end
4747

48-
context "with completable_order_created_cutoff set" do
48+
context "with completable_order_updated_cutoff set" do
4949
before do
5050
stub_spree_preferences(completable_order_updated_cutoff_days: 1)
5151
end

0 commit comments

Comments
 (0)