Skip to content

Instantly share code, notes, and snippets.

@vicatcu
Created August 11, 2014 02:10
Show Gist options
  • Save vicatcu/07a8e85fd8ddbfc2f255 to your computer and use it in GitHub Desktop.
Save vicatcu/07a8e85fd8ddbfc2f255 to your computer and use it in GitHub Desktop.
Failures:
1) Membership when a membeship is created if there are other memberships associated with user sets the end date for any of them that have a nil end date
Failure/Error: expect(Membership.find_by(start: Date.parse("2012-11-15")).end).not_to be_nil
expected: not nil
got: nil
# ./spec/models/membership_spec.rb:35:in `block (4 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment