Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-09 01:36:38 +0400
commite98c77857f9f765d1854b92c2dc33049504a596d (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /spec/support/valid_commit.rb
parent0f43e98ef8c2da8908b1107f75b67cda2572c2c4 (diff)
init commitv0.9.4
Diffstat (limited to 'spec/support/valid_commit.rb')
-rw-r--r--spec/support/valid_commit.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/support/valid_commit.rb b/spec/support/valid_commit.rb
new file mode 100644
index 00000000000..a4d3496e241
--- /dev/null
+++ b/spec/support/valid_commit.rb
@@ -0,0 +1,25 @@
+module ValidCommit
+ ID = "eaffbe556ec3a8dc84ef15892a9f12d84dde7e1d"
+ MESSAGE = "style"
+ 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
+
+ C_FILE_PATH = "app/models"
+ C_FILES = [".gitkeep", "project.rb", "user.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"
+end
+