Skip to content

Commit

Permalink
options are hash, not nil. not sure why this is erroring now but wasn…
Browse files Browse the repository at this point in the history
…'t before.
  • Loading branch information
ethnext committed May 10, 2016
1 parent c476891 commit ff76c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/annotate/annotate_models_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ class Foo < ActiveRecord::Base; end;
after { Object.send :remove_const, 'Foo' }

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

expect(annotate_model_file).to eq nil
end
Expand Down

0 comments on commit ff76c18

Please sign in to comment.