diff --git a/spec/integration/v2/repositories_spec.rb b/spec/integration/v2/repositories_spec.rb
index 30f2d100..166f4b86 100644
--- a/spec/integration/v2/repositories_spec.rb
+++ b/spec/integration/v2/repositories_spec.rb
@@ -25,21 +25,18 @@ describe 'Repos' do
     end
 
     it 'allows to update settings' do
-      json = { 'settings' => { 'a-new-setting' => 'value' } }.to_json
+      json = { 'settings' => { 'build_pushes' => false } }.to_json
       response = patch "repos/#{repo.id}/settings", json, headers
 
-      repo.reload.settings['a-new-setting'].should == 'value'
+      repo.reload.settings['build_pushes'].should == false
 
       body = JSON.parse(response.body)
-      body['settings']['a-new-setting'].should == 'value'
+      body['settings']['build_pushes'].should == false
     end
 
     it 'allows to get settings' do
-      repo.settings.replace('foo' => { 'type' => 'password', 'value' => 'abc123' })
-      repo.save
-
       response = get "repos/#{repo.id}/settings", {}, headers
-      settings = Repository::Settings.defaults.deep_merge({ 'foo' => { 'type' => 'password', 'value' => '∗∗∗∗∗∗' } })
+      settings = Repository::Settings.defaults
       JSON.parse(response.body).should == { 'settings' => settings }
     end
   end
diff --git a/spec/integration/v2/settings/ssh_keys_spec.rb b/spec/integration/v2/settings/ssh_keys_spec.rb
index 84566da5..e78cf117 100644
--- a/spec/integration/v2/settings/ssh_keys_spec.rb
+++ b/spec/integration/v2/settings/ssh_keys_spec.rb
@@ -25,7 +25,7 @@ describe Travis::Api::App::SettingsEndpoint do
       end
 
       it 'returns 404 if ssh_key can\'t be found' do
-        response = get '/settings/ssh_key/123', { repository_id: repo.id }, headers
+        response = get '/settings/ssh_keys/123', { repository_id: repo.id }, headers
         json = JSON.parse(response.body)
         json['error'].should == "Could not find a requested setting"
       end