Skip to content

Commit cb5688e

Browse files
committed
Can't push apps with app manifests if routes were shared
Fix rubocop errors
1 parent c234b92 commit cb5688e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/models/runtime/route.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def self.user_visibility_filter(user)
195195
end
196196

197197
def app_spaces_no_match?(app)
198-
app.space != space && shared_spaces.exclude?(app.space)
198+
app.space != space && shared_spaces.exclude?(app.space)
199199
end
200200

201201
delegate :in_suspended_org?, to: :space

spec/unit/models/runtime/route_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ def assert_invalid_path(path)
15741574
describe 'app spaces and route shared spaces' do
15751575
let!(:domain) { SharedDomain.make }
15761576

1577-
context 'when app and route space not shared' do
1577+
context 'when app and route space not shared' do
15781578
let!(:app) { AppModel.make }
15791579
let!(:route) { Route.make(host: 'potato', domain: domain, path: '/some-path') }
15801580

0 commit comments

Comments
 (0)