Skip to content

Commit

Permalink
Fix test suite following user changes to Camdram live/prod data
Browse files Browse the repository at this point in the history
  • Loading branch information
CHTJonas committed Aug 2, 2023
1 parent 51e04c1 commit f38e5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/search_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_search_society
assert_equal "Cambridge University Amateur Dramatic Club", entity.name
assert_equal "CUADC", entity.short_name
assert_equal "cambridge-university-amateur-dramatic-club", entity.slug
assert_equal "189141344500085", entity.facebook_id
assert_equal "https://www.facebook.com/189141344500085", entity.facebook_id
assert_equal "472457773", entity.twitter_id
end

Expand Down
4 changes: 2 additions & 2 deletions test/society_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_society_by_id
assert_equal "CUADC", society.short_name
assert_equal "cambridge-university-amateur-dramatic-club", society.slug
assert_equal "Founded in 1855, the Cambridge University Amateur Dramatic Club (or CUADC) is the oldest University dramatic society in England - and the largest dramatic society in Cambridge. We're at the very heart of one of the liveliest student theatre scenes in the country. We stage an exciting and diverse range of productions every term, most of them at the ADC Theatre in Park Street, where we are the resident company. We regularly stage shows at other Cambridge venues, annually at the Edinburgh Fringe and occasionally on tour abroad.\r\n\r\nFor more information, see the [CUADC website](https://www.cuadc.org) or contact the [CUADC president](mailto:[email protected])", society.description
assert_equal "189141344500085", society.facebook_id
assert_equal "https://www.facebook.com/189141344500085", society.facebook_id
assert_equal "472457773", society.twitter_id
assert_equal society, society.refresh!
end
Expand All @@ -25,7 +25,7 @@ def test_society_by_slug
def test_society_image
society = @client.get_society(1)
image = society.image
assert_equal 1577, image.id
assert_equal 3310, image.id
assert_equal 1024, image.width
assert_equal 1152, image.height
assert_equal "5b33d9251b70a.png", image.filename
Expand Down

0 comments on commit f38e5e1

Please sign in to comment.