BigW Consortium Gitlab

Commit c973fce6 by miks

Use correct model for testing

parent 46d21283
...@@ -45,7 +45,7 @@ describe "Projects", "DeployKeys" do ...@@ -45,7 +45,7 @@ describe "Projects", "DeployKeys" do
fill_in "deploy_key_key", :with => "publickey234=" fill_in "deploy_key_key", :with => "publickey234="
end 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 it "should add new key to table" do
click_button "Save" click_button "Save"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment