aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/with_commit.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-09-05 13:10:42 +0200
committerTeddy Wing2017-09-05 13:10:42 +0200
commit1c3148a40966f0457117e317bb1144967d39c839 (patch)
tree7f6f86746e8fdbfbca9035b6b303aa4c75ccef91 /spec/support/with_commit.rb
parentbf56f221a0eedbceea99a1e20c2876383aa6c0dd (diff)
downloadchouette-core-1c3148a40966f0457117e317bb1144967d39c839.tar.bz2
WorkbenchImportWorker spec: Use `subdirs` in place of `entry_groups`
Since the concept of `entry_groups` was changed to `subdirs`, this change needs to be reflected in the tests. Instead of looping over `entry_groups`, we now loop over `subdirs`, and pass this object directly to `mock_post`. The `mock_post` helper is now rewritten to reflect the new structure of post parameters. Remove the `params` `let` because it's not used anywhere else and we need to pass the arguments to `mock_post` into it. This currently errors because `Faraday::UploadIO` isn't passed the parameters that are expected in `mock_post`.
Diffstat (limited to 'spec/support/with_commit.rb')
0 files changed, 0 insertions, 0 deletions