Project

General

Profile

« Previous | Next » 

Revision 634c90e7

Added by Eric D. Helms over 11 years ago

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.

View differences:

Rakefile
if options[:test_name]
puts "Running tests for: #{options[:test_name]}"
puts "Using #{options[:mode]} Pulp."
test_runner.run_tests(options)
else
puts "Running full test suite."
puts "Using #{options[:mode]} data."
test_runner.run_tests(options)
end
test_runner.run_tests(options)
end
end
end

Also available in: Unified diff