Revision 634c90e7
Added by Eric D. Helms over 11 years ago
test/integration/extensions/package_group_test.rb | ||
---|---|---|
|
||
def self.before_suite
|
||
@@extension = Runcible::Extensions::PackageGroup
|
||
VCR.insert_cassette('extensions/package_group', :match_requests_on => [:method, :uri, :body])
|
||
VCR.insert_cassette('extensions/package_group', :match_requests_on => [:method, :path, :params, :body_json])
|
||
RepositoryHelper.create_and_sync_repo(:importer => true)
|
||
end
|
||
|
Also available in: Unified diff
Moves fixtures to be under test/fixtures instead of test/integration.
Removes 'pulp' from the name of all cassettes for consistency.
Fixes some failing tests that are due to inconsistency in to_json of
hashes by adding custom matcher for checking JSON in the body as a
hash comparison.
Adds custom matcher to test against path instead of URI to alleviate
problem with different hostnames for different developers running the
tests.