Skip to content

Commit

Permalink
Fix spec #170
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Jul 16, 2015
1 parent 492b4c5 commit c46030f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/config/config_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module Cosmos
tf.close

msg_callback = double(:call => true)
expect(msg_callback).to receive(:call).once.with(/Parsing .* bytes of #{tf.path}/)
expect(msg_callback).to receive(:call).once.with(/Parsing .* bytes of .*#{File.basename(tf.path)}/)

ConfigParser.message_callback = msg_callback
@cp.parse_file(tf.path) do |keyword, params|
Expand Down

0 comments on commit c46030f

Please sign in to comment.