Sha256: f703e44b5b19310325659c4618c9c4d437d61e28962be74afbd01903cd7e41b4

Contents?: true

Size: 484 Bytes

Versions: 17

Compression:

Stored size: 484 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 ) 
  expect( validator.send(type.to_sym) ).to eq( encoding )
end

Then(/^the metadata content type should be "(.*?)"$/) do |content_type|
  validator = Csvlint::Validator.new( @url, default_csv_options ) 
  expect( validator.headers['content-type'] ).to eq( content_type )
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
csvlint-1.0.0 features/step_definitions/information_steps.rb
csvlint-0.4.0 features/step_definitions/information_steps.rb
csvlint-0.3.3 features/step_definitions/information_steps.rb
csvlint-0.3.2 features/step_definitions/information_steps.rb
csvlint-0.3.1 features/step_definitions/information_steps.rb
csvlint-0.3.0 features/step_definitions/information_steps.rb
wjordan213-csvlint-0.2.8 features/step_definitions/information_steps.rb
wjordan213.csvlint-0.2.8 features/step_definitions/information_steps.rb
csvlint-0.2.6 features/step_definitions/information_steps.rb
csvlint-0.2.5 features/step_definitions/information_steps.rb
csvlint-0.2.4 features/step_definitions/information_steps.rb
csvlint-0.2.2 features/step_definitions/information_steps.rb
csvlint-0.2.1 features/step_definitions/information_steps.rb
csvlint-0.2.0 features/step_definitions/information_steps.rb
csvlint-0.1.4 features/step_definitions/information_steps.rb
csvlint-0.1.3 features/step_definitions/information_steps.rb
csvlint-0.1.1 features/step_definitions/information_steps.rb