diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-13 23:54:49 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-13 23:54:49 +0200 |
commit | 3676838dc96bbe1c8c7eec7e6ca545c462dfc12d (patch) | |
tree | 28659c8fcb8f938f607676d79bc95950b5837b60 /spec/support | |
parent | 781f5aa6fb25b4aed91f711daefdae4bce8d968b (diff) | |
download | gitlab-ce-3676838dc96bbe1c8c7eec7e6ca545c462dfc12d.tar.gz |
Rspec test repo replaced.\nMerge Requests improved
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/valid_commit.rb | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/spec/support/valid_commit.rb b/spec/support/valid_commit.rb index a4d3496e241..8094b679e99 100644 --- a/spec/support/valid_commit.rb +++ b/spec/support/valid_commit.rb @@ -1,25 +1,15 @@ module ValidCommit - ID = "eaffbe556ec3a8dc84ef15892a9f12d84dde7e1d" - MESSAGE = "style" + ID = "8470d70da67355c9c009e4401746b1d5410af2e3" + MESSAGE = "notes controller refactored" AUTHOR_FULL_NAME = "Dmitriy Zaporozhets" - FILES = [".gitignore", ".rspec", ".rvmrc", "Gemfile", "Gemfile.lock", "LICENSE", "README.rdoc", "Rakefile", "app", "config.ru", "config", "db", "doc", "lib", "log", "public", "script", "spec", "vendor"] - FILES_COUNT = 19 + FILES = [".foreman", ".gitignore", ".rails_footnotes", ".rspec", ".travis.yml", "CHANGELOG", "Gemfile", "Gemfile.lock", "LICENSE", "Procfile", "Procfile.production", "README.md", "Rakefile", "VERSION", "app", "config.ru", "config", "db", "doc", "lib", "log", "public", "resque.sh", "script", "spec", "vendor"] + FILES_COUNT = 26 C_FILE_PATH = "app/models" - C_FILES = [".gitkeep", "project.rb", "user.rb"] + 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 = <<-blob -<div class="span-14 colborder"> - <h2>Tree / <%= link_to "Commits", project_commits_path(@project) %></h2> - <%= render :partial => "tree", :locals => {:repo => @repo, :commit => @commit, :tree => @commit.tree} %> -</div> - -<div class="span-8 right"> - <%= render "side_panel" %> -</div> -blob - - BLOB_FILE_PATH = "app/views/projects/show.html.erb" + 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 |