Fix NameError: uninitialized constant JsonVersion
This commit is contained in:
parent
b3e1dbdfaf
commit
59cae397d8
|
@ -1,6 +1,8 @@
|
||||||
if JsonVersion.table_exists?
|
require 'rails_helper'
|
||||||
|
|
||||||
require 'rails_helper'
|
# The `json_versions` table tests postgres' `json` data type. So, that
|
||||||
|
# table is only created when testing against postgres and ActiveRecord >= 4.
|
||||||
|
if JsonVersion.table_exists?
|
||||||
|
|
||||||
describe JsonVersion, :type => :model do
|
describe JsonVersion, :type => :model do
|
||||||
it "should include the `VersionConcern` module to get base functionality" do
|
it "should include the `VersionConcern` module to get base functionality" do
|
||||||
|
|
Loading…
Reference in New Issue