Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

Commit

Permalink
fix tests to match improved epic sort
Browse files Browse the repository at this point in the history
  • Loading branch information
itchy committed Jul 17, 2014
1 parent 4740587 commit 45a4556
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/models/profile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 45a4556

Please sign in to comment.