Commit 2a95a3514fc40eb6b216f112731b16439d48c518
1 parent
416c15a2
Exists in
master
and in
1 other branch
Reverted old changes to App.github_url_to_file method (spec fixed too)
Showing
2 changed files
with
0 additions
and
6 deletions
Show diff stats
app/models/app.rb
spec/models/app_spec.rb
... | ... | @@ -98,11 +98,6 @@ describe App do |
98 | 98 | app = Fabricate(:app, :github_repo => "errbit/errbit") |
99 | 99 | app.github_url_to_file('/path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" |
100 | 100 | end |
101 | - | |
102 | - it 'resolves to full path to file without leading root symbol' do | |
103 | - app = Fabricate(:app, :github_repo => "errbit/errbit") | |
104 | - app.github_url_to_file('path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" | |
105 | - end | |
106 | 101 | end |
107 | 102 | |
108 | 103 | context '#github_repo?' do | ... | ... |