spec/support/mock_setting.rb in hibachi-0.0.1.pre vs spec/support/mock_setting.rb in hibachi-0.0.1

- old
+ new

@@ -1,11 +1,10 @@ require 'hibachi' class MockSetting < Hibachi::Model - recipe :mock_settings - attr_accessor :attributes, :name, :is_active + attr_accessor :name, :is_active validates :name, :presence => true def active? !!is_active