Skip to content

Commit

Permalink
Fix pidgin search integration test
Browse files Browse the repository at this point in the history
Fixing this required updating distributions.xml fixture, and some
improvements in the mocking.
  • Loading branch information
dmacvicar committed Feb 3, 2018
1 parent c0c3625 commit a1bb4eb
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 10 deletions.
6 changes: 3 additions & 3 deletions test/integration/package_information_test.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
require 'test_helper'
require File.expand_path('../../test_helper', __FILE__)

class PackageInformationTest < ActionDispatch::IntegrationTest

def test_package_information
# Check that package information is displayed
visit '/package/pidgin'
assert page.has_content? 'Pidgin'
assert page.has_content? 'InstantMessaging'
assert page.has_content? 'Multiprotocol Instant Messaging Client'
assert page.has_content? 'Pidgin is a chat program'
end
end
Loading

0 comments on commit a1bb4eb

Please sign in to comment.