Sha256: 9e003bfa95bb4266321261fdfb6bd523baff59593e8fd147881f8003f1142cf0

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

require 'spec_helper'

describe Fandango::Parser do

  specify '.parse returns hash of results' do
    source = fixture_file_content('movies_near_me_73142.rss')
    array = Fandango::Parser.parse(source)
    fixture_yaml = fixture_file_content('movies_near_me_73142.yaml')
    array.to_yaml.must_equal fixture_yaml
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fandango-1.0.0 spec/parser.spec.rb