Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuhiggins committed Mar 30, 2015
1 parent 50fef5d commit c3f0a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/foreigner/schema_dumper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def foreign_keys(table, stream)
end

test '4.1.9 loading error' do
Foreigner::Helper.stubs(:active_record_version).returns("4.1.9")
Foreigner::Helper.stubs(:active_record_version).returns Gem::Version.new("4.1.9")
MockSchemaDumper.ignore_tables = []
dumper = MockSchemaDumper.new
dumper.tables(StringIO.new)
Expand Down

0 comments on commit c3f0a60

Please sign in to comment.