mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Rails 3
This commit is contained in:
parent
51bd5a5c4c
commit
15e4107459
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue