diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml
index f52602251..8834f8fcc 100644
--- a/app/views/layouts/_footer.html.haml
+++ b/app/views/layouts/_footer.html.haml
@@ -3,7 +3,7 @@
= link_to 'SGMAP', "http://etatplateforme.modernisation.gouv.fr"
= Time.now.year
\-
- = link_to 'Nouveautés', 'https://github.com/sgmap/tps/releases', target: '_blank'
+ = link_to 'Nouveautés', 'https://github.com/betagouv/tps/releases', target: '_blank'
\-
= link_to 'Statistiques', stats_path
\-
diff --git a/app/views/layouts/_new_footer.html.haml b/app/views/layouts/_new_footer.html.haml
index 2e65d5db8..7b421a978 100644
--- a/app/views/layouts/_new_footer.html.haml
+++ b/app/views/layouts/_new_footer.html.haml
@@ -17,7 +17,7 @@
%li.footer-link
%a{ href: '#', 'data-token' => '11c89e7ddb46fbcdcb7f8fe5fdfca818', onclick: 'mjOpenPopin(event, this)' } Newsletter
%li.footer-link
- = link_to "Nouveautés", "https://github.com/sgmap/tps/releases", :class => "footer-link"
+ = link_to "Nouveautés", "https://github.com/betagouv/tps/releases", :class => "footer-link"
%li.footer-link
= link_to "Statistiques", stats_path, :class => "footer-link"
%li.footer-link
diff --git a/config/deploy.rb b/config/deploy.rb
index 6d595b2a7..b8553d941 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -17,7 +17,7 @@ raise "missing domain, run with 'rake deploy domain=37.187.154.237'" if ENV['dom
# set :domain, '5.135.190.60'
set :domain, ENV['domain']
-set :repository, 'https://github.com/sgmap/tps.git'
+set :repository, 'https://github.com/betagouv/tps.git'
set :port, 2200
set :deploy_to, '/var/www/tps_dev'
diff --git a/spec/controllers/root_controller_spec.rb b/spec/controllers/root_controller_spec.rb
index 37b83e26f..92f5be648 100644
--- a/spec/controllers/root_controller_spec.rb
+++ b/spec/controllers/root_controller_spec.rb
@@ -50,7 +50,7 @@ describe RootController, type: :controller do
render_views
before do
- stub_request(:get, "https://api.github.com/repos/sgmap/tps/releases/latest")
+ stub_request(:get, "https://api.github.com/repos/betagouv/tps/releases/latest")
.to_return(:status => 200, :body => '{"tag_name": "plip", "body": "blabla", "published_at": "2016-02-09T16:46:47Z"}', :headers => {})
subject
diff --git a/spec/features/admin/connection_spec.rb b/spec/features/admin/connection_spec.rb
index 34704fc2c..7b839e6da 100644
--- a/spec/features/admin/connection_spec.rb
+++ b/spec/features/admin/connection_spec.rb
@@ -29,7 +29,7 @@ feature 'Administrator connection' do
end
context 'when clicking on sign-out' do
before do
- stub_request(:get, "https://api.github.com/repos/sgmap/tps/releases/latest")
+ stub_request(:get, "https://api.github.com/repos/betagouv/tps/releases/latest")
.to_return(:status => 200, :body => '{"tag_name": "plip", "body": "blabla", "published_at": "2016-02-09T16:46:47Z"}', :headers => {})
page.find_by_id('sign-out').find('a').click
diff --git a/spec/fixtures/cassettes/complete_demande_spec.yml b/spec/fixtures/cassettes/complete_demande_spec.yml
index caa571ec8..e03d38fe1 100644
--- a/spec/fixtures/cassettes/complete_demande_spec.yml
+++ b/spec/fixtures/cassettes/complete_demande_spec.yml
@@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
- uri: https://api.github.com/repos/sgmap/tps/releases/latest
+ uri: https://api.github.com/repos/betagouv/tps/releases/latest
body:
encoding: US-ASCII
string: ''
diff --git a/spec/fixtures/cassettes/github_lastrelease.yml b/spec/fixtures/cassettes/github_lastrelease.yml
index 251adc06c..a08eac45b 100644
--- a/spec/fixtures/cassettes/github_lastrelease.yml
+++ b/spec/fixtures/cassettes/github_lastrelease.yml
@@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
- uri: https://api.github.com/repos/sgmap/tps/releases/latest
+ uri: https://api.github.com/repos/betagouv/tps/releases/latest
body:
encoding: US-ASCII
string: ''