Skip to content

Instantly share code, notes, and snippets.

@fsvehla
Created February 12, 2009 15:56
Show Gist options
  • Save fsvehla/62693 to your computer and use it in GitHub Desktop.
Save fsvehla/62693 to your computer and use it in GitHub Desktop.
FinancialTransaction::ErsteBankImporter.any_instance.expects(:initialize).once.with(anything, {:foo => 42})
FinancialTransaction.detect_importer(
StringIO.new("Bezeichnung;Valutadatum;Betrag;Währung\n"),
:foo => 42
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment