summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/helpers/tree_helper_spec.rb2
-rw-r--r--spec/support/test_env.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/tree_helper_spec.rb b/spec/helpers/tree_helper_spec.rb
index ad3535a15e6..8aa50c4c778 100644
--- a/spec/helpers/tree_helper_spec.rb
+++ b/spec/helpers/tree_helper_spec.rb
@@ -6,7 +6,7 @@ describe TreeHelper do
before {
@repository = project.repository
- @commit = project.repository.commit
+ @commit = project.repository.commit("e56497bb")
}
context "on a directory containing more than one file/directory" do
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb
index 2b8f7a945d4..e6db410fb1c 100644
--- a/spec/support/test_env.rb
+++ b/spec/support/test_env.rb
@@ -10,7 +10,7 @@ module TestEnv
'fix' => '12d65c8',
'improve/awesome' => '5937ac0',
'markdown' => '0ed8c6c',
- 'master' => 'e56497b'
+ 'master' => '5937ac0'
}
# Test environment