Sha256: e195d19ffe08169ec803433f157c544392587569e1187f2b6b7cae571a16b74e

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

require 'spec_helper'

describe Fandango::Theater do

  specify '.parse parses RSS item into array of movie attribute hashes' do
    item_node = item_node_from_fixture_file('item.html')
    hash = Fandango::Theater.parse(item_node)
    hash.must_equal({
      name:        'AMC Quail Springs Mall 24',
      id:          'aaktw',
      address:     '2501 West Memorial Oklahoma City, OK 73134',
      postal_code: '73134',
    })
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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