lib/rrj/janus/transactions/rspec.rb in ruby_rabbitmq_janus-2.7.2.pre.320 vs lib/rrj/janus/transactions/rspec.rb in ruby_rabbitmq_janus-2.7.2.pre.322
- old
+ new
@@ -5,19 +5,24 @@
module Transactions
# Transaction for RSpec initializer
class RSpec
attr_reader :response
+ # Initialize fake object
def initialize
@response = nil
end
+ # Fake method
def connect; end
+ # Fake method
def detach; end
+ # Fake method
def detach_for_deleting; end
+ # Publish fake message
def publish_message(type, _options)
@response = Janus::Responses::RSpec.new(type)
end
end
end