Skip to content

Instantly share code, notes, and snippets.

@jnstq
Created April 27, 2009 09:32
Show Gist options
  • Save jnstq/102411 to your computer and use it in GitHub Desktop.
Save jnstq/102411 to your computer and use it in GitHub Desktop.
it "should mark order as paid when completed" do
@payment_notification = Factory.build(:payment_notification, :status => "Completed")
@payment_notification.save!
@payment_notification.order.should be_paid
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment