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