Skip to content

Commit

Permalink
Ruby 1.9.3 compat completed
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Jun 4, 2014
1 parent 3b4bd2c commit 430dbc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/total_recall/bank_parser_spec.rb
Expand Up @@ -13,9 +13,10 @@ def stubbed_file(path, content)
end
end

def instance_with_config(config, file: 'config.yml')
stubbed_file(file, config)
described_class.new(file: file)
def instance_with_config(config, options = {})
options = {file: 'config.yml'}.merge(options)
stubbed_file(options[:file], config)
described_class.new(options)
end

describe '#config' do
Expand Down

0 comments on commit 430dbc3

Please sign in to comment.