Class: RSpec::Que::Matchers::QueueUp::QueuedSomething

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/que/queue_up/queued_something.rb

Instance Method Summary collapse

Instance Method Details

#descObject



12
13
14
# File 'lib/rspec/que/queue_up/queued_something.rb', line 12

def desc
  "a job"
end

#failed_msg(_last_found) ⇒ Object



16
17
18
# File 'lib/rspec/que/queue_up/queued_something.rb', line 16

def failed_msg(_last_found)
  "nothing"
end

#matches?(_job) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/rspec/que/queue_up/queued_something.rb', line 8

def matches?(_job)
  true
end