class JobSpec::Role::Expectations
Public Class Methods
expected(expectation, description = nil)
click to toggle source
# File lib/job_spec/role.rb, line 54 def self.expected(expectation, description = nil) @role ||= Role.new(self.class.name) @role.expected(expectation, description) end
to_a()
click to toggle source
# File lib/job_spec/role.rb, line 59 def self.to_a @role.expectations end