summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-08-30 17:17:45 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-08-30 17:17:45 -0500
commitcf37d623e197dae5cc7efb021c1b1d85ca9674ee (patch)
treee785be171d2400ef751426cc79757cca320f856b /spec/requests
parent63a97c11928d483cfad87d11f83c7df84c29743d (diff)
downloadgitlab-ce-cf37d623e197dae5cc7efb021c1b1d85ca9674ee.tar.gz
Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes.project-specific-lfs
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/lfs_http_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/lfs_http_spec.rb b/spec/requests/lfs_http_spec.rb
index 2d39f3808d5..fcd6521317a 100644
--- a/spec/requests/lfs_http_spec.rb
+++ b/spec/requests/lfs_http_spec.rb
@@ -69,7 +69,7 @@ describe 'Git LFS API and storage' do
describe 'LFS disabled in project' do
before do
- project.update_attribute(:enable_lfs, false)
+ project.update_attribute(:lfs_enabled, false)
end
it 'responds with a 501 message on upload' do
@@ -87,7 +87,7 @@ describe 'Git LFS API and storage' do
describe 'LFS enabled in project' do
before do
- project.update_attribute(:enable_lfs, true)
+ project.update_attribute(:lfs_enabled, true)
end
it 'responds with a 501 message on upload' do
@@ -112,7 +112,7 @@ describe 'Git LFS API and storage' do
describe 'LFS disabled in project' do
before do
- project.update_attribute(:enable_lfs, false)
+ project.update_attribute(:lfs_enabled, false)
end
it 'responds with a 403 message on upload' do
@@ -132,7 +132,7 @@ describe 'Git LFS API and storage' do
describe 'LFS enabled in project' do
before do
- project.update_attribute(:enable_lfs, true)
+ project.update_attribute(:lfs_enabled, true)
end
it 'responds with a 200 message on upload' do