cineworld_uk 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,7 @@ describe CineworldUk::Internal::FilmWithScreeningsParser do
39
39
 
40
40
  it 'returns the film name' do
41
41
  subject.must_be_instance_of(String)
42
- subject.must_equal('Dawn of the Planet of the Apes')
42
+ subject.must_equal('The Boxtrolls')
43
43
  end
44
44
  end
45
45
 
@@ -48,7 +48,7 @@ describe CineworldUk::Internal::FilmWithScreeningsParser do
48
48
 
49
49
  it 'returns the film name' do
50
50
  subject.must_be_instance_of(String)
51
- subject.must_equal('How To Train Your Dragon 2')
51
+ subject.must_equal('Sex Tape')
52
52
  end
53
53
  end
54
54
 
@@ -57,7 +57,7 @@ describe CineworldUk::Internal::FilmWithScreeningsParser do
57
57
 
58
58
  it 'returns the film name' do
59
59
  subject.must_be_instance_of(String)
60
- subject.must_equal('The Royal Ballet - Manon')
60
+ subject.must_equal('The Vatican Museums')
61
61
  end
62
62
  end
63
63
  end
@@ -34,13 +34,13 @@ describe CineworldUk::Internal::WhatsonParser do
34
34
  subject.first.must_include('class="span4"') # big poster
35
35
  subject.first.must_include('class="span5"') # film info block
36
36
  subject.first.must_include('<h3 class="h1">') # title
37
- subject.first.must_include('class="date row"') # showing rows
37
+ subject.first.must_include('class="row day"') # showing rows
38
38
 
39
39
  subject[1..-1].each do |html|
40
40
  html.must_include('class="span2"') # poster
41
41
  html.must_include('class="span7"') # film info block
42
42
  html.must_include('<h3 class="h1">') # title
43
- html.must_include('class="date row"') # showing rows
43
+ html.must_include('class="row day"') # showing rows
44
44
  end
45
45
  end
46
46
  end
@@ -26,7 +26,7 @@ describe CineworldUk::Screening do
26
26
 
27
27
  it 'returns correct number of screenings' do
28
28
  CineworldUk::Internal::Website.stub :new, website do
29
- subject.count.must_equal 333
29
+ subject.count.must_equal 217
30
30
  end
31
31
  end
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cineworld_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll