Skip to content

Conversation

morgoth
Copy link
Member

@morgoth morgoth commented Oct 3, 2015

scheduled_at is casted to float

self.scheduled_at = options[:wait].seconds.from_now.to_f if options[:wait]
self.scheduled_at = options[:wait_until].to_f if options[:wait_until]

so it also has to be float here.

@rails-bot
Copy link

r? @senny

(@rails-bot has picked a reviewer for you, use r? to override)

@morgoth morgoth force-pushed the fix-serializing-at-option-in-aj-matchers branch from 712771c to 6e0254e Compare October 3, 2015 13:23
@senny senny merged commit 6e0254e into rails:master Oct 5, 2015
senny added a commit that referenced this pull request Oct 5, 2015
…j-matchers

Fixed serializing `:at` option for `assert_eqnueued_with` and `assert_performed_with`
@morgoth morgoth deleted the fix-serializing-at-option-in-aj-matchers branch October 5, 2015 07:31
@senny
Copy link
Member

senny commented Oct 5, 2015

@morgoth thank you 💛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants