mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 08:06:08 +10:00
Use correct model for testing
This commit is contained in:
@@ -45,7 +45,7 @@ describe "Projects", "DeployKeys" do
|
||||
fill_in "deploy_key_key", :with => "publickey234="
|
||||
end
|
||||
|
||||
it { expect { click_button "Save" }.to change {Key.count}.by(1) }
|
||||
it { expect { click_button "Save" }.to change {DeployKey.count}.by(1) }
|
||||
|
||||
it "should add new key to table" do
|
||||
click_button "Save"
|
||||
|
||||
Reference in New Issue
Block a user