1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
This commit is contained in:
Thorsten Böttger 2014-12-20 20:48:51 +01:00
parent 51bd5a5c4c
commit 15e4107459

View file

@ -257,7 +257,7 @@ describe "instance methods" do
end
unless ActiveRecord.version.to_s >= '4.2' # won't work with Rails >= 4.2
if ActiveRecord::VERSION::MAJOR < 4 && ActiveRecord::VERSION::MINOR < 2 # won't work with Rails >= 4.2
describe "direct state column access" do
it "accepts false states" do
f = FalseState.create!