diff --git a/test/integration/browse_test.rb b/test/integration/browse_test.rb new file mode 100644 index 0000000..88d5dfb --- /dev/null +++ b/test/integration/browse_test.rb @@ -0,0 +1,13 @@ +require 'test_helper' + +class UserFlowsTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end + + test 'user can get a thumbnail for a specific package and version' do + get '/thumbnail-with-version/package-5/0.1' + assert_response :not_found + assert_match(%r{image/(png|jpeg)}, @response.content_type) + end +end