#291: updated key_pairs_controller_spec
This commit is contained in:
parent
d65214b5df
commit
96ddb9f0ce
|
@ -1,4 +1,4 @@
|
|||
class Platforms::KeyPairsController < ApplicationController
|
||||
class Platforms::KeyPairsController < Platforms::BaseController
|
||||
before_filter :authenticate_user!
|
||||
|
||||
load_and_authorize_resource :platform, :only => [:index]
|
||||
|
|
|
@ -78,7 +78,7 @@ describe Platforms::KeyPairsController do
|
|||
@create_params = {
|
||||
:platform_id => @platform,
|
||||
:key_pair => {
|
||||
:repository_id => @repository,
|
||||
:repository_id => @repository.id,
|
||||
:public => kp.public,
|
||||
:secret => kp.secret
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue