Speed up request specs a bit

This commit is contained in:
Robert Speicher 2012-09-26 13:43:42 -04:00
parent f8c02f6e39
commit 7df25e77ac
2 changed files with 12 additions and 4 deletions

View file

@ -40,10 +40,9 @@ describe "Gitlab Flavored Markdown" do
project.add_access(@user, :read, :write)
end
describe "for commits" do
it "should render title in commits#index" do
visit project_commits_path(project, @branch_name)
visit project_commits_path(project, @branch_name, limit: 1)
page.should have_link("##{issue.id}")
end
@ -89,7 +88,6 @@ describe "Gitlab Flavored Markdown" do
end
end
describe "for issues" do
before do
@other_issue = Factory :issue,