summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-10 18:38:13 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-10 18:38:13 -0400
commit42d3295d3d34100de8d515c47062ae53af657f3d (patch)
treebafebacefdc43f8b3c363f7bb3b26ef8b0f8ef71
parent775418918782d5284000ed0bfea364458c748567 (diff)
downloadgitlab-ce-42d3295d3d34100de8d515c47062ae53af657f3d.tar.gz
Revert 1.9 Hash syntax in ValidCommit::BLOB_FILE
Features are still expecting the 1.8 syntax, which is fine in this case.
-rw-r--r--spec/support/valid_commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/valid_commit.rb b/spec/support/valid_commit.rb
index 0af36e34293..8094b679e99 100644
--- a/spec/support/valid_commit.rb
+++ b/spec/support/valid_commit.rb
@@ -9,7 +9,7 @@ module ValidCommit
C_FILE_PATH = "app/models"
C_FILES = [".gitkeep", "ability.rb", "commit.rb", "issue.rb", "key.rb", "mailer_observer.rb", "merge_request.rb", "note.rb", "project.rb", "protected_branch.rb", "repository.rb", "snippet.rb", "tree.rb", "user.rb", "users_project.rb", "web_hook.rb", "wiki.rb"]
- BLOB_FILE = %{%h3= @key.title\n%hr\n%pre= @key.key\n.actions\n = link_to 'Remove', @key, confirm: 'Are you sure?', method: :delete, class: \"btn danger delete-key\"\n\n\n}
+ BLOB_FILE = %{%h3= @key.title\n%hr\n%pre= @key.key\n.actions\n = link_to 'Remove', @key, :confirm => 'Are you sure?', :method => :delete, :class => \"btn danger delete-key\"\n\n\n}
BLOB_FILE_PATH = "app/views/keys/show.html.haml"
end