indent using spaces

This commit is contained in:
shlok007 2017-05-31 19:35:43 +05:30
parent b1fac33420
commit ae1f292719
4 changed files with 41 additions and 43 deletions

View file

@ -20,8 +20,7 @@ class OrganizationsController < ApplicationController
@organization = Organization.new @organization = Organization.new
end end
def edit def edit; end
end
def update def update
if @organization.update_attributes(organization_params) if @organization.update_attributes(organization_params)

View file

@ -5,7 +5,7 @@ describe Organization do
describe 'validation' do describe 'validation' do
it 'has a valid factory' do it 'has a valid factory' do
expect( build(:organization) ).to be_valid expect(build(:organization)).to be_valid
end end
it 'is not valid without a name' do it 'is not valid without a name' do
@ -17,4 +17,3 @@ describe Organization do
it { should have_many(:conferences).dependent(:destroy) } it { should have_many(:conferences).dependent(:destroy) }
end end
end end