Sha256: 6d840bf0fe6043a30fcde83d94522194ce0b0284192b19f72c07ff505d8f8013
Contents?: true
Size: 349 Bytes
Versions: 10
Compression:
Stored size: 349 Bytes
Contents
require 'test_helper' module Spyke class ActiveModelDirtyTest < MiniTest::Test def test_attributes_instance_var_compatibility recipe = RecipeWithDirty.new(title: 'Cheeseburger') # If @attributes is set on recipe ActiveModel::Dirty will crash assert_equal false, recipe.attribute_changed_in_place?(:title) end end end
Version data entries
10 entries across 10 versions & 1 rubygems