Skip to content

Commit 852cea6

Browse files
committed
Fix whitespace
1 parent 7e62421 commit 852cea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/mongoid/fields_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,15 +368,15 @@
368368
context 'when using an unknown symbol' do
369369
it 'raises InvalidFieldType' do
370370
lambda do
371-
klass.field(:test, type: :bogus)
371+
klass.field(:test, type: :bogus)
372372
end.should raise_error(Mongoid::Errors::InvalidFieldType, /declares a field 'test' with an unknown :type value :bogus/)
373373
end
374374
end
375375

376376
context 'when using an unknown string' do
377377
it 'raises InvalidFieldType' do
378378
lambda do
379-
klass.field(:test, type: 'bogus')
379+
klass.field(:test, type: 'bogus')
380380
end.should raise_error(Mongoid::Errors::InvalidFieldType, /declares a field 'test' with an unknown :type value "bogus"/)
381381
end
382382
end

0 commit comments

Comments
 (0)