From 9d47b06a3a78c4e62fc989dba5691465df023e99 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 16 Dec 2012 10:16:19 +1300 Subject: [PATCH] Fixed github_url_to_file spec --- spec/models/app_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/app_spec.rb b/spec/models/app_spec.rb index 76f7933..30f850d 100644 --- a/spec/models/app_spec.rb +++ b/spec/models/app_spec.rb @@ -96,7 +96,7 @@ describe App do context '#github_url_to_file' do it 'resolves to full path to file' do app = Fabricate(:app, :github_repo => "errbit/errbit") - app.github_url_to_file('/path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" + app.github_url_to_file('path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" end end -- libgit2 0.21.2