features/step_definitions/sources_steps.rb in csvlint-1.0.0 vs features/step_definitions/sources_steps.rb in csvlint-1.1.0
- old
+ new
@@ -1,7 +1,7 @@
Given(/^it is parsed as a StringIO$/) do
@url = StringIO.new(@csv)
end
Given(/^I parse a file called "(.*?)"$/) do |filename|
- @url = File.new( File.join( File.dirname(__FILE__), "..", "fixtures", filename ) )
+ @url = File.new(File.join(File.dirname(__FILE__), "..", "fixtures", filename))
end