Commit 42d3295d3d34100de8d515c47062ae53af657f3d
1 parent
77541891
Exists in
master
and in
4 other branches
Revert 1.9 Hash syntax in ValidCommit::BLOB_FILE
Features are still expecting the 1.8 syntax, which is fine in this case.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/support/valid_commit.rb
@@ -9,7 +9,7 @@ module ValidCommit | @@ -9,7 +9,7 @@ module ValidCommit | ||
9 | C_FILE_PATH = "app/models" | 9 | C_FILE_PATH = "app/models" |
10 | 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"] | 10 | 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"] |
11 | 11 | ||
12 | - 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} | 12 | + 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} |
13 | BLOB_FILE_PATH = "app/views/keys/show.html.haml" | 13 | BLOB_FILE_PATH = "app/views/keys/show.html.haml" |
14 | end | 14 | end |
15 | 15 |