Skip to content

Commit ff76c18

Browse files
committed
options are hash, not nil. not sure why this is erroring now but wasn't before.
1 parent c476891 commit ff76c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/annotate/annotate_models_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ class Foo < ActiveRecord::Base; end;
905905
after { Object.send :remove_const, 'Foo' }
906906

907907
it 'skips attempt to annotate if no table exists for model' do
908-
annotate_model_file = AnnotateModels.annotate_model_file([], 'foo.rb', nil, nil)
908+
annotate_model_file = AnnotateModels.annotate_model_file([], 'foo.rb', nil, {})
909909

910910
expect(annotate_model_file).to eq nil
911911
end

0 commit comments

Comments
 (0)