Revision 634c90e7
Added by Eric D. Helms over 11 years ago
lib/runcible/extensions/distributor.rb | ||
---|---|---|
|
||
def initialize(params={})
|
||
@auto_publish = false
|
||
self.id = SecureRandom.hex(10)
|
||
self.id = params[:id] || SecureRandom.hex(10)
|
||
params.each{|k,v| self.send("#{k.to_s}=",v)}
|
||
end
|
||
end
|
||
end
|
||
end
|
||
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.