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 <dmitriy.zaporozhets@gmail.com>2013-01-04 20:50:31 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-04 20:50:31 +0400
commitafbdbb0c959affbdb8725eafb8169025a8aede1e (patch)
tree87fec66647ef63d1abc5cae17192f1f10c1559bb /features
parentdccd8b6eaa8b2e98b0245262a8e39df8fb8ae634 (diff)
Rspec fixes
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_browse_commits.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/project_browse_commits.rb b/features/steps/project/project_browse_commits.rb
index 2c03ce14fc1..aef1d048349 100644
--- a/features/steps/project/project_browse_commits.rb
+++ b/features/steps/project/project_browse_commits.rb
@@ -4,7 +4,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
include SharedPaths
Then 'I see project commits' do
- commit = @project.commit
+ commit = @project.repository.commit
page.should have_content(@project.name)
page.should have_content(commit.message)
page.should have_content(commit.id.to_s[0..5])
@@ -15,7 +15,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
end
Then 'I see commits atom feed' do
- commit = CommitDecorator.decorate(@project.commit)
+ commit = CommitDecorator.decorate(@project.repository.commit)
page.response_headers['Content-Type'].should have_content("application/atom+xml")
page.body.should have_selector("title", :text => "Recent commits to #{@project.name}")
page.body.should have_selector("author email", :text => commit.author_email)