Commit 9d47b06a3a78c4e62fc989dba5691465df023e99
1 parent
7b04e478
Exists in
master
and in
1 other branch
Fixed github_url_to_file spec
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/models/app_spec.rb
@@ -96,7 +96,7 @@ describe App do | @@ -96,7 +96,7 @@ describe App do | ||
96 | context '#github_url_to_file' do | 96 | context '#github_url_to_file' do |
97 | it 'resolves to full path to file' do | 97 | it 'resolves to full path to file' do |
98 | app = Fabricate(:app, :github_repo => "errbit/errbit") | 98 | app = Fabricate(:app, :github_repo => "errbit/errbit") |
99 | - app.github_url_to_file('/path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" | 99 | + app.github_url_to_file('path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" |
100 | end | 100 | end |
101 | end | 101 | end |
102 | 102 |