From 45a45564aa11e16326a94f44f453b24d938f8bdd Mon Sep 17 00:00:00 2001 From: Scott Johnson <7.scott.j@gmail.com> Date: Wed, 16 Jul 2014 22:34:24 -0500 Subject: [PATCH] fix tests to match improved epic sort --- spec/models/profile_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/models/profile_spec.rb b/spec/models/profile_spec.rb index 0c9cb59..e743594 100644 --- a/spec/models/profile_spec.rb +++ b/spec/models/profile_spec.rb @@ -27,14 +27,14 @@ @member.save_with_epic_sort @member.reload - @member.sort_order.should be_between(0, 20) + @member.sort_order.should be_between(0, 100) end it "should update attributes when saving with epic" do @member.save_with_epic_sort({blurb: @blurb, name: 'sample'}) @member.reload - @member.sort_order.should be_between(0, 20) + @member.sort_order.should be_between(0, 100) @member.name.should == 'sample' end @@ -52,8 +52,8 @@ @member.reload @member_2.reload - @member.sort_order.should be_between(0, 20) - @member_2.sort_order.should be_between(0, 20) + @member.sort_order.should be_between(0, 100) + @member_2.sort_order.should be_between(0, 100) end it "should not show non-organizers more than once" do