summaryrefslogtreecommitdiff
path: root/spec/support/valid_commit.rb
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
committergitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
commit9ba1224867665844b117fa037e1465bb706b3685 (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /spec/support/valid_commit.rb
parent93efff945215a4407afcaf0cba15ac601b56df0d (diff)
downloadgitlab-ce-9ba1224867665844b117fa037e1465bb706b3685.tar.gz
init commit
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
+