Skip to content

Instantly share code, notes, and snippets.

@bhserna
Last active December 17, 2016 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhserna/beacf75d64296c2053188662a75dc034 to your computer and use it in GitHub Desktop.
Save bhserna/beacf75d64296c2053188662a75dc034 to your computer and use it in GitHub Desktop.
def portfolio_with(*projects, current_date)
projects_finder = FakeProjectFinder.new(*(projects + [refunded_project]))
UserPortfolio.portfolio_for_user(user, current_date, projects_finder)
end
describe "implements investments value interface" do
subject { portfolio_with(project) }
it_behaves_like "investments value interface"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment