spec/fixtures/use_cases.rb in action_logic-0.1.0 vs spec/fixtures/use_cases.rb in action_logic-0.2.0
- old
+ new
@@ -63,11 +63,11 @@
end
class ValidateAroundCustomTypeTestUseCase
include ActionLogic::ActionUseCase
- validates_around :custom_type => { :type => :customtype1, :presence => true }
+ validates_around :custom_type => { :type => CustomType1, :presence => true }
def call
end
def tasks
@@ -195,10 +195,10 @@
def call
context.integer_test = 1
context.float_test = 1.0
context.string_test = "string"
- context.bool_test = false
+ context.bool_test = true
context.hash_test = {}
context.array_test = []
context.symbol_test = :symbol
context.nil_test = nil
end