test.rb in use_case-0.3.0 vs test.rb in use_case-0.4.0
- old
+ new
@@ -38,20 +38,20 @@
class UserLoggedInPrecondition
def initialize(user)
@user = user
end
- def satiesfied?(params)
+ def satisfied?(params)
@user[:id] == 42
end
end
class ProjectAdminPrecondition
def initialize(user)
@user = user
end
- def satiesfied?(params)
+ def satisfied?(params)
@user[:name] == params.name
end
end
class CreateRepositoryCommand