summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-28 01:42:28 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-28 21:22:49 -0400
commitc9c1f76e002d899dd6765c4c1630697cc5068f27 (patch)
tree0ab18369aa5df80c89b1618e4de75eaa33da174b /spec/helpers
parent4805c64f2a96e8a9ea5a0e94a820d840fa1675e0 (diff)
downloadgitlab-ce-c9c1f76e002d899dd6765c4c1630697cc5068f27.tar.gz
All specs and features currently passing with FactoryGirl
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/gitlab_flavored_markdown_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/gitlab_flavored_markdown_spec.rb b/spec/helpers/gitlab_flavored_markdown_spec.rb
index e147cb39375..28bd46ecb99 100644
--- a/spec/helpers/gitlab_flavored_markdown_spec.rb
+++ b/spec/helpers/gitlab_flavored_markdown_spec.rb
@@ -2,7 +2,7 @@ require "spec_helper"
describe GitlabMarkdownHelper do
before do
- @project = Project.find_by_path("gitlabhq") || Factory(:project)
+ @project = Factory(:project)
@commit = @project.repo.commits.first.parents.first
@commit = CommitDecorator.decorate(Commit.new(@commit))
@other_project = Factory :project, path: "OtherPath", code: "OtherCode"
@@ -157,7 +157,7 @@ describe GitlabMarkdownHelper do
gfm("Let @#{user.name} fix the *mess* in #{@commit.id}").should == "Let #{link_to "@#{user.name}", project_team_member_path(@project, member), class: "gfm gfm-team_member "} fix the *mess* in #{link_to @commit.id, project_commit_path(@project, id: @commit.id), title: "Commit: #{@commit.author_name} - #{@commit.title}", class: "gfm gfm-commit "}"
end
- it "should not trip over other stuff", focus: true do
+ it "should not trip over other stuff" do
gfm("_Please_ *stop* 'helping' and all the other b*$#%' you do.").should == "_Please_ *stop* 'helping' and all the other b*$#%' you do."
end