summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2012-08-29 11:42:15 +0300
committerAlex Denisov <1101.debian@gmail.com>2012-08-29 11:42:15 +0300
commit2703fe3e72f0084139a76c5a8332f9402cae0cf1 (patch)
tree6a975acb822757f88029342b9882f7641266d26e /spec
parent05af5655a7e385018d640723e84a208c439f7f10 (diff)
parentadc71b6a6ae06a96aa82052012ae6e61bd3a9cb1 (diff)
downloadgitlab-ce-2703fe3e72f0084139a76c5a8332f9402cae0cf1.tar.gz
Merge branch 'master' into issue_status_changed_notifications
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/projects_deploy_keys_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/projects_deploy_keys_spec.rb b/spec/requests/projects_deploy_keys_spec.rb
index 0fea7b46ce2..894aa6d3a8d 100644
--- a/spec/requests/projects_deploy_keys_spec.rb
+++ b/spec/requests/projects_deploy_keys_spec.rb
@@ -42,7 +42,7 @@ describe "Projects", "DeployKeys" do
describe "fill in" do
before do
fill_in "key_title", with: "laptop"
- fill_in "key_key", with: "publickey234="
+ fill_in "key_key", with: "ssh-rsa publickey234="
end
it { expect { click_button "Save" }.to change {Key.count}.by(1) }
@@ -55,12 +55,12 @@ describe "Projects", "DeployKeys" do
end
end
- describe "Show page" do
+ describe "Show page" do
before do
@key = Factory :key, project: project
- visit project_deploy_key_path(project, @key)
+ visit project_deploy_key_path(project, @key)
end
-
+
it { page.should have_content @key.title }
it { page.should have_content @key.key[0..10] }
end