# File tests/rabbit_test.rb, line 42 def test_effective_params features = @driver.features(:instances).collect { |f| f.name } features.should =~ [:hardware_profiles, :user_name, :authentication_key] op = @app.collections[:instances].operations[:create] op.effective_params(@driver).keys.should =~ [:image_id, :hwp_memory, :hwp_id, :keyname, :name, :hwp_storage, :realm_id] op.params.keys =~ [:realm_id, :image_id, :hwp_id] end