Sha256: cb97f42a9337da2540304671d1ab471f3dab2ecf1f636c5760d6d886cd05046b
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
Given(/^the content type is "(.*?)"$/) do |arg1| @content_type = "text/csv" end Then(/^the "(.*?)" should be "(.*?)"$/) do |type, encoding| validator = Csvlint::Validator.new( @url, default_csv_options ) validator.send(type.to_sym).should == encoding end Then(/^the metadata content type should be "(.*?)"$/) do |content_type| validator = Csvlint::Validator.new( @url, default_csv_options ) validator.headers['content-type'].should == content_type end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
csvlint-0.1.0 | features/step_definitions/information_steps.rb |
csvlint-0.0.1 | features/step_definitions/information_steps.rb |