@@ -35,7 +35,7 @@ def test_image_with_search_terms_and_match_all
3535 end
3636
3737 def test_grayscale_image
38- @tester . grayscale_image == 'https://loremflickr.com/g/300/300/all'
38+ assert_equal ( 'https://loremflickr.com/g/300/300/all' , @tester . grayscale_image )
3939 end
4040
4141 def test_grayscale_image_with_incorrect_size
@@ -45,7 +45,7 @@ def test_grayscale_image_with_incorrect_size
4545 end
4646
4747 def test_grayscale_image_without_search_terms
48- @tester . grayscale_image ( size : '50x60' ) == ' https://loremflickr.com/g/50/60/all'
48+ assert_equal ( ' https://loremflickr.com/g/50/60/all', @tester . grayscale_image ( size : '50x60' ) )
4949 end
5050
5151 def test_grayscale_image_with_single_search_term
@@ -61,7 +61,7 @@ def test_grayscale_image_with_search_terms_and_match_all
6161 end
6262
6363 def test_pixelated_image
64- @tester . pixelated_image == 'https://loremflickr.com/p/300/300/all'
64+ assert_equal ( 'https://loremflickr.com/p/300/300/all' , @tester . pixelated_image )
6565 end
6666
6767 def test_pixelated_image_with_incorrect_size
@@ -71,7 +71,7 @@ def test_pixelated_image_with_incorrect_size
7171 end
7272
7373 def test_pixelated_image_without_search_terms
74- @tester . pixelated_image ( size : '50x60' ) == ' https://loremflickr.com/p/50/60/all'
74+ assert_equal ( ' https://loremflickr.com/p/50/60/all', @tester . pixelated_image ( size : '50x60' ) )
7575 end
7676
7777 def test_pixelated_image_with_single_search_term
@@ -87,7 +87,7 @@ def test_pixelated_image_with_search_terms_and_match_all
8787 end
8888
8989 def test_colorized_image
90- @tester . colorized_image == 'https://loremflickr.com/red/300/300/all'
90+ assert_equal ( 'https://loremflickr.com/red/300/300/all' , @tester . colorized_image )
9191 end
9292
9393 def test_colorized_image_with_incorrect_size
@@ -97,7 +97,7 @@ def test_colorized_image_with_incorrect_size
9797 end
9898
9999 def test_colorized_image_without_search_terms
100- @tester . colorized_image ( size : '50x60' , color : 'red' ) == 'https://loremflickr.com/red/50/60/all'
100+ assert_equal ( 'https://loremflickr.com/red/50/60/all' , @tester . colorized_image ( size : '50x60' , color : 'red' ) )
101101 end
102102
103103 def test_colorized_image_with_unsupported_colorization
0 commit comments